forked from CenterForOpenScience/ember-osf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (26 loc) · 670 Bytes
/
.travis.yml
File metadata and controls
33 lines (26 loc) · 670 Bytes
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
language: node_js
sudo: required
dist: trusty
addons:
chrome: stable
env:
global:
- SUPPRESS_NO_CONFIG_WARNING=true
- PERSONAL_ACCESS_TOKEN=TEST_TOKEN
cache:
yarn: true
directories:
- node_modules
- $HOME/.cache # includes bowers cache
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
- yarn --pure-lockfile --ignore-engines
- ./node_modules/bower/bin/bower install --config.interactive=false
script:
- yarn test:cover
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js