forked from SUSE/doc-sle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 1.86 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
sudo: required
language: bash
services:
- docker
env:
global:
- secure: aVb/DMAuiRwYp6mkXx2mqfYqTeOQJ8NPmoOwKsafBqV0ainnX7G2731gB3hkWBQTkdZkqelYncxJNJ6JQhqhZwTjKeRgs18pTk6pkjh1xhbvBLxifgYhNyZvCuOPOG00zB4pTV3xLHte1+SKLH7BRKWLMO1cCTQNhp0G7czWojdl5HU0xQ5cWKjJlqRK9dxrkTH9+j+tGmtq/3IR8ihcxr3LzMyChzHp/Rm+jk38hhTBNSJr8Wee12NH61BMGdefVY0RiuT/B0HutpGOzBaY87+8LFYiE7Tt4pRy61Pgzl9NcVZ1CB7keJMbDxmVMc27h+BP9JWTM3LPqfOsvu/XdZCP25Mv+QAnexIzpjagd9JghJ92T41cveapjpCvoVfly3rlagfa6HiVD0mGbV7KqUF0fFhrd9ROiATfSg+inj7ijq77gmAWDyPvpWBhoC8ONKkY4Z0OfP6wx0+76tDnj6pTqXuo7bqvo/Ffs/tx/ijWPeopGhTP80KX1AU0uYBnHpkTtvcHHm+9caPCHlvXJHV3cMx45zdVL0M5eEkebmsj/4u6xvnOKVYyG2tW57SKNYqUnIliy7L4Xe3fpihFRgWv69pLqOHzh3N4fNB+Yt2PfEjiiK845Vs0w01JwgYi/I1vYhuaosXUCt+myPC/KTdPm412i6GjGBejWlXsPK0=
- COMMIT_AUTHOR_MAIL: "[email protected]"
# If you want to see a list of installed packages in the doc-ci docker container, set to TRUE
- LIST_PACKAGES=0
# List branches that should be published on GitHub pages, omit the maintenance/ prefix
- PUBLISH_PRODUCTS="develop SLE12 SLE12SP1 SLE12SP2 SLE12SP3 openSUSE_Leap_42.3"
before_install:
- echo "TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST" >> env.list
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH" >> env.list
- echo "SOURCE_BRANCH=$SOURCE_BRANCH" >> env.list
- echo "TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG" >> env.list
- echo "LIST_PACKAGES=$LIST_PACKAGES" >> env.list
- echo "PUBLISH_PRODUCTS=\"$PUBLISH_PRODUCTS\"" >> env.list
- echo "ENCRYPTED_PRIVKEY_SECRET=$ENCRYPTED_PRIVKEY_SECRET" >> env.list
- echo "TRAVIS_COMMIT=$TRAVIS_COMMIT" >> env.list
- wget https://raw.githubusercontent.com/openSUSE/doc-ci/develop/travis/travis.sh
- ls
- echo "Building docker image"
- docker build -t sle-doc-image .
script:
- docker run --rm -it sle-doc-image /bin/bash -c '/bin/bash travis.sh'
notifications:
email:
on_success: change
on_failure: always