From 69b498d85dd27caef25899ba1318e330cf52d956 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 23 Sep 2019 13:56:25 +0300 Subject: [PATCH] CI: bring back vid test --- .github/workflows/ci.yml | 8 ++++---- .travis.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9982187881..c8264ddb1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 4a9bc7a223..6eca128215 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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