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 run: ./v test v
- name: Test v->js - name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js run: ./v -o hi.js examples/hello_v_js.v && node hi.js
# - name: Test vid - name: Test vid
# run: | run: |
# git clone --depth 1 https://github.com/vlang/vid.git git clone --depth 1 https://github.com/vlang/vid.git
# cd vid && ../v -debug -o vid . cd vid && ../v -debug -o vid .
build-ubuntu: build-ubuntu:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View File

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