-
Notifications
You must be signed in to change notification settings - Fork 98
/
.travis.yml
53 lines (46 loc) · 1.47 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
48
49
50
51
52
53
# Travis-CI configuration
dist: focal
services:
- docker
language: cpp
# :TODO: @brad Add osx build (need homebrew packages)..
jobs:
include:
- name: debian-stable
os: linux
env: BASE_IMAGE=testenv-debian-stable TEST_COVERAGE=yes PYTHON_COVERAGE=python3-coverage
- name: debian-testing
os: linux
env: BASE_IMAGE=testenv-debian-testing
- name: ubuntu-18.04
os: linux
env: BASE_IMAGE=testenv-ubuntu-18.04
- name: ubuntu-20.04
os: linux
env: BASE_IMAGE=testenv-ubuntu-20.04
- name: ubuntu-20.10
os: linux
env: BASE_IMAGE=testenv-ubuntu-21.10
- name: ubuntu-22.04
os: linux
env: BASE_IMAGE=testenv-ubuntu-22.04
- name: fedora-35
os: linux
env: BASE_IMAGE=testenv-fedora-35
- name: fedora-36
os: linux
env: BASE_IMAGE=testenv-fedora-36
- name: centos-7
os: linux
env: BASE_IMAGE=testenv-centos-7
- name: rockylinux-8
os: linux
env: BASE_IMAGE=testenv-rockylinux-8
# Limit number of commits in cloning (but keep enough so that 'git describe' works)
git:
depth: 100
install:
- docker build -t pylith-testenv --build-arg BASE_IMAGE=registry.gitlab.com/cig-pylith/pylith_installer/$BASE_IMAGE --build-arg TEST_COVERAGE=$TEST_COVERAGE --build-arg PYTHON_COVERAGE=$PYTHON_COVERAGE --target build -f docker/pylith-testenv .
script:
- ci_env=`bash <(curl -s https://codecov.io/env)`
- docker run $ci_env pylith-testenv ci-config/run_tests.sh