-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 833 Bytes
/
.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
language: node_js
node_js:
- '10'
install: 'npm i'
sudo: true
dist: trusty
before_script:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- npm i -g @angular/cli
services:
- docker
script: ng test --watch false -cc
#script: "npm test && cat ./coverage/lcov.info | ./packages/react-formctrl/node_modules/coveralls/bin/coveralls.js"
deploy:
provider: heroku
api_key: $API_KEY
on:
branch: master
run:
- docker build -t web .
- heroku container:login
- heroku container:push web --app epokedex
- heroku container:release web --app epokedex