forked from openshift/openshift-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (18 loc) · 970 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
language: python
cache: pip
sudo: required
before_install:
- sudo gem install asciidoctor -v 1.5.4
- sudo gem install asciidoctor-diagram -v 1.5.4
install:
- pip install pyyaml
- pip install aura.tar.gz
script:
- python build.py --distro openshift-enterprise --product "OpenShift Container Platform" --version 3 --no-upstream-fetch
- if [ "$TRAVIS_BRANCH" == "enterprise-3.9" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.10" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.11" ]; then python build.py --distro openshift-online --product "OpenShift Container Platform" --version 3 --no-upstream-fetch; fi
- if [ "$TRAVIS_BRANCH" == "enterprise-3.9" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.10" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.11" ]; then python build.py --distro openshift-dedicated --product "OpenShift Container Platform" --version 3 --no-upstream-fetch; fi
- python makeBuild.py
after_success:
- bash autopreview.sh
after_failure:
- bash autocomment.sh