run tests in travis

pull/624/head
S-YOU 2019-06-26 07:58:17 +09:00 committed by Alex Medvednikov
parent 82a65c75a9
commit 9e9480f638
2 changed files with 5 additions and 1 deletions

View File

@ -11,4 +11,5 @@ script:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
- export VROOT=$(pwd)
- cd ./compiler
- make
- make
- make test

View File

@ -7,5 +7,8 @@ v: v.c
v.c:
wget https://raw.githubusercontent.com/vlang/vc/master/v.c
test:
find .. -name '*_test.v' | xargs v {}
clean:
-rm vc v.c