forked from theintern/intern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.04 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
sudo: false
language: node_js
node_js:
- 'lts/*'
- 'node'
env:
global:
# Please get your own free key if you want to test yourself
- BROWSERSTACK_USERNAME=sitepenlabs1
- BROWSERSTACK_ACCESS_KEY=836y5xDYPeFudz5HvZyp
matrix:
- INTERN_ARGS="environments="
- INTERN_ARGS=""
matrix:
exclude:
# Exlude the matrix run with node 7 && INTERN_ARGS="" (which means only
# include the one that does *not* run tests on remote environments)
- node_js: 'node'
env: INTERN_ARGS=""
# Exlude the matrix run with node 6 && INTERN_ARGS="environments=" (which
# means only include the one that *does* run remote tests)
- node_js: 'lts/*'
env: INTERN_ARGS="environments="
cache:
directories:
- node_modules
install:
- npm install
- npm install -g codecov
script:
- npm run ci reporters+=lcov && codecov
notifications:
slack:
secure: RvW7LoV4mBzNz481eqfhLB/QNuJYht9Fpz7F+vtVjD/RacDJfc7397/8pJcl2yP+Ft2X7yJsM6bx3Uq22CfMiZ7HTVOfb+tYQNBQ5vcluUvd3fYV72M4oWe/TTFTlAulC04vWs4/QRHqbvmsXXr8Rn8Jj2LjsxnKvP0UNr0aLxk=