forked from f4pga/f4pga-arch-defs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (32 loc) · 975 Bytes
/
.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
language: python
python:
- "3.6"
addons:
apt:
sources:
- sourceline: "ppa:ubuntu-toolchain-r/test"
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main'
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
packages:
- g++-6
- bash
- colordiff
- coreutils
- graphviz
- inkscape
- make
- cmake
before_install:
- source ./.github/travis/common.sh
install:
- stdbuf -i0 -o0 -e0 ./.github/travis/install.sh
- export PATH=/usr/bin:$PATH
script:
# ping stdout every 9 minutes or Travis kills build
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
- while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- stdbuf -i0 -o0 -e0 ./.github/travis/script.sh
after_success:
- stdbuf -i0 -o0 -e0 ./.github/travis/after_success.sh
after_failure:
- stdbuf -i0 -o0 -e0 ./.github/travis/after_failure.sh