forked from patternfly/patternfly-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 858 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
language: node_js
sudo: required
cache: yarn
env:
global:
- ENCRYPTION_LABEL: "b601314e09dc"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
- COMMIT_AUTHOR_USERNAME: "patternfly-build"
- TRIGGER_REPO_SLUG: "patternfly/patternfly-react"
- TRIGGER_REPO_BRANCH: "master"
notifications:
email: false
before_install:
- npm install --global surge
- .travis/before_install.sh
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install
script:
- yarn build
- yarn test
- yarn coveralls
after_success:
- .travis/after_success.sh
- .travis/release.sh
- chmod ugo+x ./.travis/deploy_pr.sh
- .travis/deploy_pr.sh
git:
depth: 1
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
deploy:
provider: surge
project: ./.public/
domain: patternfly-react.surge.sh
skip_cleanup: true