mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Added a host identifier to the docker run command in travis configuration.
This commit is contained in:
parent
17c748904b
commit
9c4777c092
10
.travis.yml
10
.travis.yml
@ -5,14 +5,14 @@ services:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=gcc
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CURHOST=docker-gcc-x64
|
||||||
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=clang
|
- DOCKIMG=unidata/nctests:serial USECMAKE=TRUE USEAC=TRUE USE_CC=clang CURHOST=docker-clang-x64
|
||||||
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=gcc
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=gcc CURHOST=docker-gcc-x86
|
||||||
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=clang
|
- DOCKIMG=unidata/nctests:serial32 USECMAKE=TRUE USEAC=TRUE USE_CC=clang CURHOST=docker-clang-x86
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- docker pull $DOCKIMG > /dev/null
|
- docker pull $DOCKIMG > /dev/null
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|
||||||
- docker run --rm -it -e USEDASH=TRUE -e RUNF=OFF -e RUNCXX=OFF -e RUNP=OFF -e RUNNCO=OFF -e USECMAKE=$USECMAKE -e USEAC=$USEAC -v $(pwd):/netcdf-c $DOCKIMG
|
- docker run --rm -it -h "$CURHOST" -e USEDASH=TRUE -e RUNF=OFF -e RUNCXX=OFF -e RUNP=OFF -e RUNNCO=OFF -e USECMAKE=$USECMAKE -e USEAC=$USEAC -v $(pwd):/netcdf-c $DOCKIMG
|
||||||
|
Loading…
Reference in New Issue
Block a user