Skip to content

Commit 8e106f7

Browse files
authored
Merge pull request #71 from jpogran/gh-12-add-travis
(GH-12) Add Travis file
2 parents f464aef + a790b6a commit 8e106f7

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
language: node_js
2+
node_js:
3+
- "node"
4+
5+
environment:
6+
ELECTRON_RUN_AS_NODE: 1
7+
VSCODE_BUILD_VERBOSE: true
8+
9+
sudo: false
10+
11+
os:
12+
- linux
13+
14+
addons:
15+
apt:
16+
sources:
17+
- ubuntu-toolchain-r-test
18+
packages:
19+
- gcc-4.9
20+
- g++-4.9
21+
- gcc-4.9-multilib
22+
- g++-4.9-multilib
23+
- zip
24+
- libgtk2.0-0
25+
- libx11-dev
26+
- libxkbfile-dev
27+
28+
before_install:
29+
- if [ $TRAVIS_OS_NAME == "linux" ]; then
30+
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
31+
sh -e /etc/init.d/xvfb start;
32+
sleep 3;
33+
fi
34+
35+
install:
36+
- cd client
37+
- npm install
38+
- npm install gulp
39+
- npm run vscode:prepublish
40+
41+
script:
42+
- npm test --silent
43+
- gulp build

0 commit comments

Comments
 (0)