Skip to content

Commit 9f68818

Browse files
committedNov 13, 2016
fix: add ci files
1 parent 358dad8 commit 9f68818

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
 

‎.travis.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sudo: false
2+
language: node_js
3+
matrix:
4+
include:
5+
- node_js: 4
6+
env: CXX=g++-4.8
7+
- node_js: 6
8+
env: CXX=g++-4.8
9+
- node_js: stable
10+
env: CXX=g++-4.8
11+
12+
# Make sure we have new NPM.
13+
before_install:
14+
- npm install -g npm
15+
16+
script:
17+
- npm run lint
18+
- npm test
19+
- npm run coverage
20+
21+
before_script:
22+
- export DISPLAY=:99.0
23+
- sh -e /etc/init.d/xvfb start
24+
25+
after_success:
26+
- npm run coverage-publish
27+
28+
addons:
29+
apt:
30+
sources:
31+
- ubuntu-toolchain-r-test
32+
packages:
33+
- g++-4.8

‎circle.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
machine:
2+
node:
3+
version: stable
4+
5+
dependencies:
6+
pre:
7+
- google-chrome --version
8+
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
9+
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
10+
- sudo apt-get update
11+
- sudo apt-get --only-upgrade install google-chrome-stable
12+
- google-chrome --version

0 commit comments

Comments
 (0)
Please sign in to comment.