CI: bring back vid test
parent
db44004d51
commit
69b498d85d
|
@ -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
|
||||||
|
|
14
.travis.yml
14
.travis.yml
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue