forked from theintern/intern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.05 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
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=xm1uYrJuV3gZMJqCyZJX
matrix:
- INTERN_ARGS="environments="
- INTERN_ARGS=""
matrix:
exclude:
# Exlude the matrix run with node latest && 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 lts && INTERN_ARGS="environments=" (which
# means only include the one that does *not* run tests on remote
# environments)
- node_js: lts/*
env: INTERN_ARGS="environments="
cache:
directories:
- node_modules
install:
- npm install
- npm install -g codecov
script:
- npm run ci && codecov
notifications:
slack:
secure: C/WcvljPsSP1xYcV+YplPdHzzKDu1YmFvcHkWrkY/pNoTt1N+mqOM6sDjvD8VCyYtoC5+QaVZUKAXSb8j1J3gtNiRsaoSauikHhN8t1z1ENulrqxBpYbQ1MatxxFM7zDeVaRGlqu3vnEGZqsrJX5mwS8+N8Gy0T8deMNCdnJTAg=