r3/.travis.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

2014-05-17 03:26:19 -04:00
language: c
2018-07-05 11:27:09 -04:00
sudo: required
services:
- docker
2014-05-20 10:05:07 -04:00
2014-08-13 02:29:18 -04:00
git:
depth: 1
2014-05-20 10:05:07 -04:00
matrix:
include:
- compiler: gcc
2018-07-05 11:27:09 -04:00
env:
- CONFIGURE_OPTION='--enable-debug --enable-gcov --with-malloc=jemalloc'
- COVERALLS=yes
- VALGRIND=no
- DEBUG=yes
- CC=gcc
- CXX=g++
- compiler: gcc
2018-07-05 11:27:09 -04:00
env:
- CONFIGURE_OPTION='--enable-debug --enable-gcov'
- COVERALLS=yes
- VALGRIND=yes
- DEBUG=yes
- CC=gcc
- CXX=g++
- compiler: clang
2018-07-05 11:27:09 -04:00
env:
- CONFIGURE_OPTION='--enable-debug --enable-gcov'
- COVERALLS=yes
- VALGRIND=yes
- DEBUG=yes
- CC=clang
- CXX=clang++
before_install:
- docker run -d
--name build
-v $(pwd):/travis
-e "CONFIGURE_OPTION=$CONFIGURE_OPTION"
-e "COVERALLS=$COVERALLS"
-e "VALGRIND=$VALGRIND"
-e "DEBUG=$DEBUG"
-e "CC=$CC"
-e "CXX=$CXX"
ubuntu:16.04
tail -f /dev/null
- docker ps
2014-05-17 03:26:19 -04:00
install:
2018-07-05 11:27:09 -04:00
- docker exec -t build bash -c "cd /travis && .travis-ci/install.sh"
2014-05-20 10:05:07 -04:00
2014-05-17 03:26:19 -04:00
script:
2018-07-05 11:27:09 -04:00
- docker exec -t build bash -c "cd /travis && .travis-ci/script.sh"
2014-05-20 10:05:07 -04:00
after_success:
2018-07-05 11:27:09 -04:00
- docker exec -t build bash -c "cd /travis && .travis-ci/after_success.sh"