CI: bring back vid test

pull/2083/head
Alexander Medvednikov 2019-09-23 13:56:25 +03:00
parent db44004d51
commit 69b498d85d
2 changed files with 11 additions and 11 deletions

View File

@ -19,10 +19,10 @@ jobs:
run: ./v test v
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
# - name: Test vid
# run: |
# git clone --depth 1 https://github.com/vlang/vid.git
# cd vid && ../v -debug -o vid .
- name: Test vid
run: |
git clone --depth 1 https://github.com/vlang/vid.git
cd vid && ../v -debug -o vid .
build-ubuntu:
runs-on: ubuntu-18.04

View File

@ -66,7 +66,7 @@ script:
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
## aliases do not work for some reason in travis, just use full commands :-|
echo "Nodejs version:"
node --version
node --version
# Build hi.js
echo "fn main(){ println('Hello from V.js') }" > hi.v
./v -o hi.js hi.v
@ -75,15 +75,15 @@ script:
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
echo "Nodejs version:"
node --version
node --version
# Build hi.js
echo "fn main(){ println('Hello from V.js') }" > hi.v
./v -o hi.js hi.v
node hi.js
fi
- |
# if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# # Build Vid
# git clone https://github.com/vlang/vid
# cd vid && ../v -debug -o vid .
# fi
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# Build Vid
git clone https://github.com/vlang/vid
cd vid && ../v -debug -o vid .
fi