Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

[travis] Enable js tests in QEMU #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
language: cpp
compiler: gcc
sudo: false

addons:
apt:
packages:
- qemu

before_script:
- cd tools
Expand All @@ -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)
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down