forked from news-stand/news_stand
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 1.17 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
language: node_js
node_js:
- 8.4.0
addons:
chrome: stable
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm run build:prod
jobs:
include:
- stage: server tests
script: node ./build/server/index.js & npm run test
- stage: client tests
script: karma start --single-run
deploy:
provider: heroku
api_key:
secure: BsKFSXizsS9hqsZMnM5XtyBIBlzOKBt+hI9+J5Sy/Ejmoh2vqmPje1NYUNCjsgOjMTu+tdsvJWmsc0ZpUYz1VpxRYFdmig0KEirrf2u74UseTPw1k8A3nhWKUNnlBI8coVlYVybdqtF9Qjck1ssOGpYVr6DC3Q/9ZhJCLs+Lz4JwCDbM8sNXFEx0wkxCWbnxBdSOUyo5w4D84N7NGBFY451RIoWgbUo0EiKKEFQeiTGCR+0t9Bi1seheB2UAa9RMt6VrEeP8pyoVQGng3cr7UB743VZ/rnF1Lk3tgQyvC5rPHK3H8Nx3qoObjJEWr4EVHvskRO2Vtv6V8M3SVlfld1Jmn7ealciuDLsONKx1bdxIyeYav4n8+/Zi3dVCwnrE6sbPwFjhrK0zaEabt/85zdHdWPAcs5qKF2zecKC6OQQnANjxWsKKlwmshPKJ+RyKq0k3M2xgx10t2Am390OoH5kNeavIB4MjPOK2z/lj8RCbV2Y3zWWga5Dw0FK/2ADg1kXb1s0fWdChmLDPn8Xay82t0OxJcsIOHGs4+NVE3qAd/L8CySTIhj6/UUXfaOCA7lVew54BxI6yNVZ4R/j4usuODSoco93YDBDd38O1eRHKWFqntVDimxrkaAxY2PTsMXWI1mr7/oHbgoEPJ/31C3ICIamVldzgSu2xQUpX8Ok=
app:
master: news-stand-hr-staging
on:
repo: news-stand/news_stand