forked from os-autoinst/openQA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (47 loc) · 1.67 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
36
37
38
39
40
41
42
43
44
45
46
47
sudo: required
dist: trusty
services:
- docker
env:
global:
- COMMIT_AUTHOR_EMAIL=skynet@open.qa
matrix:
include:
- name: "unit- and integration tests"
env: FULLSTACK=0 UITESTS=0
- name: "UI tests"
env: FULLSTACK=0 UITESTS=1
- name: "fullstack test"
env: FULLSTACK=1
- name: "scheduler fullstack test"
env: SCHEDULER_FULLSTACK=1
- name: "developer fullstack test"
env: DEVELOPER_FULLSTACK=1
- name: "documentation generation job"
if: branch = master AND fork = false
env: GH_PUBLISH=true
before_script:
- docker pull registry.opensuse.org/devel/openqa/containers/openqa_dev:latest
cache:
directories:
- assets/cache
script:
- |
if [ -n "$GH_PUBLISH" ]; then
bash script/generate-documentation $encrypted_e2c381aa6b8c_key $encrypted_e2c381aa6b8c_iv
else
mkdir -p assets/cache && chmod a+w assets/cache && sudo chown -R 1000:1000 assets/cache
touch openqa-debug.log autoinst-log.txt && chmod a+w openqa-debug.log autoinst-log.txt
# as long as we have some unfixed flaky tests we should let travis CI retry,
# not humans :)
# known issues:
# * 05-scheduler-full.t: https://progress.opensuse.org/issues/37628
# * 25-cache-service.t: https://progress.opensuse.org/issues/53858
# * ui/12-needle-edit.t: https://progress.opensuse.org/issues/37610
# * ui/18-tests-details.t: https://progress.opensuse.org/issues/38276
# * full-stack.t: https://progress.opensuse.org/issues/37638 and https://progress.opensuse.org/issues/54032
travis_retry make prepare-and-launch-docker-to-run-tests-within
fi
after_failure:
- cat openqa-debug.log
- cat autoinst-log.txt