-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
68 lines (56 loc) · 1.4 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo: false
language: node_js
dist: trusty
node_js:
- 6
# Need to specify a GCC compiler now!
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
env:
global:
- TRAVIS=true
matrix: # Create a build matrix from the available test files
- TEST_SUITE_M_OF_N=1-5
- TEST_SUITE_M_OF_N=2-5
- TEST_SUITE_M_OF_N=3-5
- TEST_SUITE_M_OF_N=4-5
- TEST_SUITE_M_OF_N=5-5
matrix:
fast-finish: true # https://docs.travis-ci.com/user/customizing-the-build/#Fast-Finishing
addons:
chrome: stable
before_install:
# Installing Yarn - https://yarnpkg.com/en/docs/install-ci#travis-tab
# Repo for newer Node.js versions
#- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
# Repo for Yarn
#- npm install -g yarn
# Install NPM 3.9.5
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3.9.5; fi
- npm prune
- npm set progress=false
install:
- npm install -g yo
- npm install
- npm link
# - yarn global add yo
# - yarn install
# - yarn link
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
script:
- npm run pre-release
after_success:
- npm run upload-coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
notifications:
email:
recipients:
- u_glow@hotmail.com
cache:
directories:
- $HOME/.yarn-cache