-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
35 lines (29 loc) · 1.07 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
language: node_js
node_js:
- '0.10'
# Start MongoDB service
services:
- mongodb
# Update npm, necessary for certain packages to install correctly
before_install:
- npm install -g npm
# Special configurations for using Chrome browser in Travis
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
# Run `gulp coveralls` to send data to Coveralls
after_script:
- ./node_modules/.bin/gulp coveralls
# Sample code from another tutorial, leave in now for reference...
# - ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
# Disable email notifications
notifications:
email: false
# Deploy to Heroku on successful build on `develop` branch
deploy:
provider: heroku
api_key:
secure: c6G807KC0GI/26YRBFbsi0XuYBUVH7VJ44xv03z400EJKM4SvSqMUZMBjHjCJTuPX7GxEDUV6tcj3paS1fpe2hckiHXyePQJSIOaYrW4TloZR8u4hVSy6jF6snjHZ+RLvB6k25Pe13KEpUDJKSRpioAnFtmQttVefuHZoIjVN0s=
app: archivr-dev
on: develop