diff --git a/.travis.yml b/.travis.yml index 9fc70edf95..024be8d541 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,7 @@ script: #set set -e git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries thirdparty/freetype/ - + if [[ "${TRAVIS_JOB_NAME}" == "windows_gcc" ]]; then echo "Building V with GCC" export VFLAGS="-os windows" @@ -60,7 +60,7 @@ script: export VFLAGS="-os msvc" ./make.bat -msvc fi - + ### running just repl_test.v produces failing results earlier and is easier to read echo "Running only the repl tests directly..." ./v.exe ./compiler/tests/repl/repl_test.v @@ -76,6 +76,11 @@ script: fi - | if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then + # Build Vid git clone https://github.com/vlang/vid cd vid && ../v -debug -o vid . + + # Build hi.js + echo "println('Hello from V.js')" > hi.js + v -o hi.js hi.v && node hi.js fi diff --git a/compiler/cc.v b/compiler/cc.v index 31356cd395..03d3e17d10 100644 --- a/compiler/cc.v +++ b/compiler/cc.v @@ -33,6 +33,7 @@ fn (v mut V) cc() { ret := os.system('$vjs_path -o $v.out_name $v.dir') if ret == 0 { println('Done. Run it with `node $v.out_name`') + println('JS backend is at a very early stage.') } } }