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

@ -12,3 +12,4 @@ script:
- export VROOT=$(pwd) - export VROOT=$(pwd)
- cd ./compiler - cd ./compiler
- make - make
- make test

View File

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