2018-03-08 04:53:43 +08:00
|
|
|
# blocklist
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- /.*[.]dmh/
|
|
|
|
- /.*[.]wif/
|
|
|
|
|
2016-01-13 05:50:20 +08:00
|
|
|
sudo: required
|
2015-04-15 20:09:01 +08:00
|
|
|
language: c
|
2016-01-13 05:50:20 +08:00
|
|
|
services:
|
|
|
|
- docker
|
2015-04-15 20:09:01 +08:00
|
|
|
|
2016-01-13 05:50:20 +08:00
|
|
|
env:
|
|
|
|
matrix:
|
2016-12-07 01:37:51 +08:00
|
|
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CXXOPTS='-DCMAKE_CPP_FLAGS=-fsigned-char' CURHOST=docker-gcc-x64-signed
|
|
|
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=clang CXXOPTS='-DCMAKE_CPP_FLAGS=-fsigned-char' CURHOST=docker-clang-x64-signed
|
|
|
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CXXOPTS='-DCMAKE_CPP_FLAGS=-fsigned-char' CURHOST=docker-gcc-x86-signed
|
|
|
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=clang CXXOPTS='-DCMAKE_CPP_FLAGS=-fsigned-char' CURHOST=docker-clang-x86-signed
|
2015-10-15 00:38:14 +08:00
|
|
|
|
2016-12-07 01:37:51 +08:00
|
|
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CXXOPTS='-DCMAKE_CPP_FLAGS=-funsigned-char' CURHOST=docker-gcc-x64-unsigned
|
|
|
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=clang CXXOPTS='-DCMAKE_CPP_FLAGS=-funsigned-char' CURHOST=docker-clang-x64-unsigned
|
|
|
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CXXOPTS='-DCMAKE_CPP_FLAGS=-funsigned-char' CURHOST=docker-gcc-x86-unsigned
|
|
|
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=clang CXXOPTS='-DCMAKE_CPP_FLAGS=-funsigned-char' CURHOST=docker-clang-x86-unsigned
|
2015-10-15 00:38:14 +08:00
|
|
|
|
2015-04-15 20:09:01 +08:00
|
|
|
before_install:
|
2016-01-13 05:50:20 +08:00
|
|
|
- docker pull $DOCKIMG > /dev/null
|
2015-04-15 20:09:01 +08:00
|
|
|
|
|
|
|
script:
|
2016-01-13 05:50:20 +08:00
|
|
|
|
2016-01-13 05:52:51 +08:00
|
|
|
- docker run --rm -it -h "$CURHOST" -e USEDASH=FALSE -e RUNC=OFF -e RUNF=OFF -e RUNCXX=TRUE -e RUNP=OFF -e RUNNCO=OFF -e USECMAKE=$USECMAKE -e USEAC=$USEAC -e COPTS=$COPTS -v $(pwd):/netcdf-cxx4 $DOCKIMG
|