diff --git a/.travis.yml b/.travis.yml index d2094b47f..5281bfca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,11 @@ language: cpp compiler: gcc +sudo: false + +addons: + apt: + packages: + - qemu before_script: - cd tools @@ -10,4 +16,4 @@ before_script: - cd .. - export PATH=$PWD/tools/x86_64-elf-4.9.1-Linux-x86_64/bin:$PWD/tools/fasm:$PATH -script: scons +script: scons && (cd js && npm install && npm run test-build) diff --git a/js/package.json b/js/package.json index ccf79d7bc..cae7535cc 100644 --- a/js/package.json +++ b/js/package.json @@ -6,7 +6,7 @@ "scripts": { "lint": "eslint .", "test": "runtimeify test/unit/index.js -o initrd && runtime-qemu ./initrd", - "test-build": "runtimeify test/unit/index.js -o initrd && runtime-qemu ./initrd --kernel ../disk/boot/runtime" + "test-build": "runtimeify test/unit/index.js -o initrd && runtime-qemu ./initrd --kernel ../disk/boot/runtime --nographic" }, "repository": { "type": "git",