forked from biobakery/portal-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 3.62 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
git:
depth: 10
language: node_js
node_js:
- "8"
sudo: required
dist: trusty
group: edge
services:
- docker
cache: npm
jobs:
include:
- stage: test
script:
# this will only run lint / tests against modified files but it is unstable
# - echo $TRAVIS_COMMIT_RANGE | sed 's/\.\.\./../' | xargs git diff-tree --no-commit-id --name-only -r | xargs echo -n
- npm run lint || travis_terminate 1
- npm test || travis_terminate 1
- stage: deploy
script:
- NODE_ENV=production REACT_APP_COMMIT_HASH=$TRAVIS_COMMIT npm run build
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" quay.io
- bash docker.sh
notifications:
email: false
slack:
secure: Njn9VjYMUJcb8jfvusetb13uC0rcQ1NN6KumKxc6/jBCRoQ7uhQbqhcemZDK/7s/jRUGYTkb72u5QJxgVHcYDMchO9aOCVI3xs8veQ6j6shOCJbSIHGby1nkuwDPNzyyYh5mjJVDiWbiIBOzOaMko0QT//Ce1IitBBkyTEtQPcg=
env:
global:
- secure: KfGBMXb/b5lXDKkMAGiyqqkmhZNW5qaEAum3yAhYkPEixfVi/1RYxCdD/AVKh39F+btXb46EHc/HRxNY50HleKWR3ikQs58F5kWuKjdFHzKJlxu+Euy2ml3JoHh61u+ZshDv9mm6TdpuiP7NOZ6YA4IU8EaXxNGAcmaHZbnHeSXApC9A4XL9gox4v6TnhCodjxSXnJxoElqGr59qo45Gtb/eLgCpkP9+j0LXmkED0N/KSismB0D8TICbmVy6mJYGTGIo30RbNGDUyivM9iYzUXbyy9QFV+iXA7E0t9FFd/zNgQRpOWYuGn5yshd4Fj4mLhvkjkODERonBNO86AS+y8hFus/nYgvE2f1ZuoTnYslTUOMrbj3Ko8+/DVjBYs+ZpoaMR2PqWnorJqyFXHjnFQ5lj0UF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