forked from patternfly/patternfly-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (45 loc) · 1.78 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
46
47
48
49
50
51
52
53
54
55
language: node_js
node_js:
- '8'
cache: false
addons:
chrome: stable
notifications:
email: false
env:
global:
- PF_PAGE_BUILDER: jekyll
- secure: KFSt/cOAh8+v9Mz9AroDg+YYGwkuXyC96ZtOMbcWxVAQzplrrpCD9zI0ZuOtKYg/YHu5mscLWbnXOzBug2J162/V9MyicETmXCdFx5ovu/5rTtbxQ6maoRWQQfcKmQVWNdUDF5rJJ7PU9H/gyXWKvbEpkfNRk6Wr7Oc3D8mYtgI=
- secure: SBD8QHLUy1/kCZiLV2OYpqdFTQUWUfkWLx1bdtKFQhWt+aUYBTBdbbb/A7otm+LbBNe5NWWOX1lkciubEs9XlRUdQfS/WqId3c99+457NXeEPtIX6fC92/hrQITFb6vvv7T71ltUs3Q1X2CL82nCas+2LNYlB1/WxKgB8Tr7qPQ=
before_install:
- rvm install 2.4.1
- npm install -g npm@5.4.0
- npm install -g bower grunt-cli
- npm install patternfly-eng-release
install: true
script:
- sh -x ./node_modules/patternfly-eng-release/scripts/_build.sh -p
after_success:
- 'if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
npm prune;
npm run semantic-release-pre;
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_bump.sh -p;
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-npm.sh || travis_terminate 0;
npm run semantic-release-post;
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-webjar.sh -p;
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_release-all.sh -o;
fi'
branches:
except:
- /^v\d+\.\d+\.\d+$/
# Automated RubyGems.org deployment
before_deploy: "sh -x ./scripts/gem_release.sh"
deploy:
skip_cleanup: true
provider: rubygems
api_key:
secure: RP2UsRAyz1+D5e/Mt4C8c3kfq9nzPunQ3QGSTFMkhCmH0dcyBNqGLaIWbrOtRPIeYXpcneoj4SfBvgdmixhi06NMkjw5Vcn213VUZAdafMthAkB3RaQexuzqyz8F8NVTdtXm15zBz/XDZtm42AkOlotoctNUeChFhyhzq3WG9uw=
gem: patternfly-sass
on:
branch: master-dist
repo: patternfly/patternfly