forked from openshift/openshift-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
20 lines (14 loc) · 850 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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" ]; then python build.py --distro openshift-online --product "OpenShift Container Platform" --version 3 --no-upstream-fetch; fi
- if [ "$TRAVIS_BRANCH" == "enterprise-3.7" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.9" ] || [ "$TRAVIS_BRANCH" == "enterprise-3.10" ]; then python build.py --distro openshift-dedicated --product "OpenShift Container Platform" --version 3 --no-upstream-fetch; fi
- python makeBuild.py