forked from CGAL/cgal-testsuite-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 820 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
language: cpp
dist: xenial
services:
- docker
env:
matrix:
- PLATFORM='ArchLinux'
- PLATFORM='CentOS-6'
- PLATFORM='CentOS-6-32'
- PLATFORM='CentOS-7'
- PLATFORM='Debian-stable'
- PLATFORM='Debian-testing'
- PLATFORM='Fedora'
- PLATFORM='Fedora-32'
- PLATFORM='Fedora-rawhide'
- PLATFORM='Ubuntu'
- PLATFORM='Ubuntu-GCC-master'
script:
- travis_wait 120 bash -x ./test.sh $PLATFORM
after_success:
- if [ "$TRAVIS_EVENT_TYPE" != "pull_request" -a "$TRAVIS_BRANCH" = "master" ]; then openssl aes-256-cbc -K $encrypted_99d730745b24_key -iv $encrypted_99d730745b24_iv -in secret.txt.enc -out secret.txt -d; source ./secret.txt; docker login -u lrineau -p $PASS; bash -x ./push.sh $PLATFORM; fi
notifications:
email:
on_success: change # default: always
on_failure: always # default: always