From b69dd6e5e6f5f5b248b7ca91561bb9d5b13d051c Mon Sep 17 00:00:00 2001 From: Serge Date: Thu, 24 Sep 2015 00:21:22 +0300 Subject: [PATCH 1/2] [travis] Enable js tests in QEMU --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) From 8910be4669ed205d099c969a94e61ee948b1dfc0 Mon Sep 17 00:00:00 2001 From: Serge Date: Sun, 18 Oct 2015 18:33:00 +0300 Subject: [PATCH 2/2] Run tests in nographic mode --- js/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",