forked from patternfly/angular-patternfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (25 loc) · 733 Bytes
/
.travis.yml
File metadata and controls
29 lines (25 loc) · 733 Bytes
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
language: node_js
node_js:
- '0.10'
before_install:
- 'git checkout -B $TRAVIS_BRANCH' # Reconcile detached HEAD
- 'npm install -g bower grunt-cli'
script:
- 'npm install'
- 'bower install'
- 'grunt'
- 'grunt ngdocs:publish'
after_success:
- sh -x ./scripts/publish.sh
# OpenShift expects its deployment branch to be "master-dist". This can be changed using:
# rhc app-configure patternfly/angular --deployment-branch master-dist
deploy:
provider: openshift
user: "$OPENSHIFT_USER"
password: "$OPENSHIFT_PWD"
domain: "patternfly"
app: angular
skip_cleanup: true
on: # The branch and repo that triggered the build
branch: master
condition: $TRAVIS_REPO_SLUG = "patternfly/angular-patternfly"