-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (45 loc) · 1.65 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
36
37
38
39
40
41
42
43
44
45
language: node_js
node_js:
- '6'
services:
- docker
before_install:
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- sleep 3
- npm i -g npm@^3
- npm install -g webpack
- npm install -g webpack-dev-server
- npm install -g karma-cli
- npm install -g protractor
- npm install -g typescript
install:
- npm install
before_script:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- npm start &
- sleep 5
script:
- npm run build:prod
cache:
directories:
- "$HOME/.yarn-cache"
sudo: required
deploy:
provider: heroku
api_key:
secure: fugBOZFpvQcikMvlkpxpOn0Os/xlPJytI9b2atzBU0o5OJnM5cRhiwZ+OAwHy42PxZQhYCTyeN5u1vkhLReqtHkhYa9GRWCAu4FxnuzZj6EF8/xbar13CwqBpK2MQ7dgWxx7GkaocThiDHCs4OJel0tu0utt0F6tRxeGJRyslCVXtih/3BXRVEKyg0i4a3+sWoMzH0DqgUqaC+OxcL1uzUO/9UemlPFiMi2gUEQP4ALvRkNoYFqlVRpFswuAkJaKhKd40wwrAn2E7Tlc0q7sYoHBQ4YGlLHCfJC1diQfrvcxO3kcLisM/lxPy1KPvNSrPzqbvAQiCsmO+CEYqVLYEoVumKHx8gkMYbASHsMW0SFLhM46xL/g0hLyF/4LcobggmVmKfe9+ydca1cOJuPwClFXKOQQoHwyKeQm7PczqiL+AQcXuOeG1tIpT6lYZ+9YYRDLXhGvxYjXBXfz9phb4d2gt9nrRUWKwxI/s/8v5Si+JWxgNxznMwNUoHBb3I8DxCDcWT5oj611gLzxFRJpiQ6sUuhOV51HTtdvT82F8GJsil2Pe3N+NhKoV8gR8iGHDbIwzTEAWusBXoloa6ZXxyut+QW9wOh14xb5rDa2kVxdfK44yhlTwhFW6UzQV/WQXgmo3nw6bfdD39ykHU7sH6SQ1gOuImTiImLu2Qb4NyU=
app:
develop: testjiragoggles-frontend
master: jiragoggles-client
on:
repo: JiraGoggles/jiragoggles-frontend
branch:
- develop
- master
buildpack: https://github.com/heroku/heroku-buildpack-nodejs#yarn