1sudo: required
2
3dist: bionic
4
5env:
6  global:
7    - secure: "lqkL5SCM/CBwgVb1GWoOngpojsa0zCSGcvF0O3/45rBT1EpNYtQ4LRJ1+XcHi126vdfGoim/8i7AQhn5eOgmZI8yAPBeoUZ5zSrejD3RUpXr2rXocsvRRP25Z4mIuAGHD9VAHtvTdhBZRVV818W02pYduSzAeaY61q/lU3xmWsE="
8    - secure: "mzms6X8uvdhRWxkPBMwx+mDl3d+V1kUpZa7UgjT+dr4rvZMzvKtjKp/O0JZZVogdgZjUZf444B98/7AvWdSkGdkfz2QdmhWmXzNPfNuHtmfCYMdijsgFIGLuD3GviFL/rBiM2vgn32T3QqFiEJiC5StparnnXimPTc9TpXQRq5c="
9
10
11jobs:
12  include:
13    - os: linux
14      arch: s390x
15      env: TASK=s390x_test
16
17# dependent brew packages
18# the dependencies from homebrew is installed manually from setup script due to outdated image from travis.
19addons:
20  homebrew:
21    update: false
22  apt:
23    packages:
24      - unzip
25
26before_install:
27  - source tests/travis/travis_setup_env.sh
28
29install:
30  - source tests/travis/setup.sh
31
32script:
33  - tests/travis/run_test.sh
34
35cache:
36  directories:
37    - ${HOME}/.cache/usr
38    - ${HOME}/.cache/pip
39
40before_cache:
41  - tests/travis/travis_before_cache.sh
42
43after_failure:
44  - tests/travis/travis_after_failure.sh
45
46after_success:
47  - tree build
48  - bash <(curl -s https://codecov.io/bash) -a '-o src/ src/*.c'
49
50notifications:
51  email:
52    on_success: change
53    on_failure: always
54