-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
54 lines (54 loc) · 1.18 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: node_js
node_js:
- '5.1'
- '4.2'
- '4.1'
- '4.0'
services:
- mongodb
matrix:
allow_failures:
- node_js: "5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libcairo2-dev
- libjpeg8-dev
- libpango1.0-dev
- libgif-dev
- g++-4.8
cache:
directories:
- node_modules
env:
matrix:
-
CXX=g++-4.8
NODE_ENV=development
-
CXX=g++-4.8
NODE_ENV=production
before_install:
- npm -v
- npm install npm -g
- sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
- npm install babel-preset-es2015
- npm install babel-preset-react
- npm install babel-register
- npm install react-addons-test-utils@0.14.7
- npm install istanbul
- npm install coveralls
- npm install mocha
- npm install chai
- npm install jsdom
- npm install supertest
- npm install eslint@^2.7.0
- npm install eslint-plugin-jsx-a11y@^1.0.3
- npm install eslint-config-airbnb@^6.2.0
- npm install eslint-plugin-react@4.3.0
- npm install canvas
script: npm run coverage
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js