forked from SUSE/suse-best-practices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (23 loc) · 1.43 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
language: bash
dist: xenial
services:
- docker
env:
global:
- secure: CYxBJvXA6aZ6dejDEW3u4/s6yHr0hBScVTKaIOVqBG10XbMgzq1uFz2eMb+/BHxOF5KIkjxT/feulkwYJk1pQTp7OJ8PEf5QaZQkZbsO4+MNPL6tHRGlibCFoQUpKZ/T/LemCX5nW1bPHV5bSofsDZUc/8dmRLLlRu25cgo8cHFf/GVTa1DtnA+wiS3dr8uRGCYbLhN1L/+NoLXNvphA7rzvbbemSpCySAekksTUDkLKsrh4aENzFMy4KAHZf9zwYfM8mSTb5gH8hRe6L4iLuMdtARtugF2LJ8FWfO8/M9ysw+e9d5Uvd6t/DVwE0R8pdKs113PwgMMAufjFkWOr9tIMQ3OzYHO4PtSeZXMzk0hc198lrAzDG/Z+X86dzeVTtI26qNwjLMW/11X+rXeSSQlDk+JXG5NfLuUoopD4KMv7YKpKd8pbP2Ifx1VYzCfaUjadogZBlf7TPTsKvoLD8EEyc++Mfo/pz1YhpDitwkTXbjweLLV29R+5KlRQsyXpJM1+sIrTPP6AcJ4lyMCe3IQlq5gF4oTCW8XXcYpNKCU36Mo/TK+cFQgcYrGn7c+HTiNRf/VV8n1r3diE1eYv9b5lPvIEOMmJh7AaRgrZUk5hXOnTmqROW7Uz2m6wSsxqhk9eIlNn1Vp1EPRSYnIz2tpWHDxCO5B/FWMEjgp/43A=
before_install:
- echo "TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST" >> env.list
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH" >> env.list
- echo "TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG" >> env.list
- echo "ENCRYPTED_PRIVKEY_SECRET=$ENCRYPTED_PRIVKEY_SECRET" >> env.list
- echo "TRAVIS_COMMIT=$TRAVIS_COMMIT" >> env.list
- echo "DISABLE_ID_CHECK=1" >> env.list
- wget https://raw.githubusercontent.com/openSUSE/doc-ci/master/travis/travis.sh
script:
- docker run --rm -it --volume ${PWD}:/usr/src/app --workdir /usr/src/app susedoc/ci:latest /bin/bash -c '/bin/bash travis.sh'
notifications:
email:
recipients:
on_success: change
on_failure: always