Commit 43d0acdc1f7c98f9cfa8257776bb437308a79b23
some travis maybe?
Henry committed on 9/4/2018, 9:02:57 PMParent: e0bd1bcf7a4228b517d96dc9a8621c2183684e63
Files changed
package.json | changed |
.travis.runtest.sh | added |
.travis.yml | added |
package.json | |||
---|---|---|---|
@@ -48,9 +48,9 @@ | |||
48 | 48 … | "check-win": "node scripts/check-configuration-win.js", | |
49 | 49 … | "setup-win": "node scripts/setup-win.js", | |
50 | 50 … | "check": "node scripts/check-configuration.js", | |
51 | 51 … | "setup": "node scripts/setup.js", | |
52 | - "install": "node scripts/install.js", | ||
52 … | + "install": "node scripts/install.js" | ||
53 | 53 … | }, | |
54 | 54 … | "optionalDependencies": { | |
55 | 55 … | "mkdirp": "^0.5.1", | |
56 | 56 … | "regedit": "^2.2.7" | |
.travis.runtest.sh | ||
---|---|---|
@@ -1,0 +1,14 @@ | ||
1 … | +#!/bin/bash | |
2 … | + | |
3 … | +if [[ $TRAVIS_OS_NAME == 'linux' ]]; then | |
4 … | + export DISPLAY=':99.0' | |
5 … | + Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
6 … | + echo started xvfb | |
7 … | +fi | |
8 … | + | |
9 … | +echo debug: $TRAVIS_OS_NAME $DISPLAY | |
10 … | +npm i | |
11 … | +node ./server.js | |
12 … | + | |
13 … | +# npm test | |
14 … | +# TODO: could do tests/test.bad on appvayor |
Built with git-ssb-web