run tests in travis
parent
82a65c75a9
commit
9e9480f638
|
@ -11,4 +11,5 @@ script:
|
||||||
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
|
||||||
- export VROOT=$(pwd)
|
- export VROOT=$(pwd)
|
||||||
- cd ./compiler
|
- cd ./compiler
|
||||||
- make
|
- make
|
||||||
|
- make test
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue