forked from esaude/esaude-emr-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·42 lines (42 loc) · 934 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
33
34
35
36
37
38
39
40
41
42
language: node_js
node_js:
- "6.9.4"
addons:
apt:
packages:
- sshpass
chrome: stable
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g bower grunt-cli codacy-coverage coveralls
- bower install --force
after_script:
- cat coverage/**/lcov.info | codacy-coverage
- cat coverage/**/lcov.info | coveralls
before_deploy:
- grunt build:package
- sed -i "s/__RELEASE_VERSION__/$TRAVIS_TAG/g" bintray-release.json
deploy:
- provider: bintray
edge:
branch: v1.8.47
file: "bintray.json"
user: "psbrandt"
key: $BINTRAY_API_KEY
dry-run: false
on:
branch: master
- provider: bintray
edge:
branch: v1.8.47
file: "bintray-release.json"
user: "psbrandt"
key: $BINTRAY_API_KEY
dry-run: false
on:
tags: true
after_deploy:
- sh scripts/trigger-docker-image-build.sh
- sh scripts/deploy.sh