forked from mdolab/idwarp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (22 loc) · 951 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
import:
- mdolab/.github:travis/jobs-env.yml
- mdolab/.github:travis/before-install.yml
- mdolab/.github:travis/install.yml
- mdolab/.github:travis/script.yml
env:
global:
- DOCKER_REPO=public
- GCC_CONFIG=config/defaults/config.LINUX_GFORTRAN_OPENMPI.mk
- INTEL_CONFIG=config/defaults/config.LINUX_INTEL_OPENMPI.mk
script:
- |
if [ $TEST_TYPE == "docker" ]; then
# Download input files for regression testing
docker exec -it app /bin/bash -c ". $BASHRC && cd $DOCKER_WORKING_DIR/input_files && ./get-input-files.sh"
# Real tests
docker exec -it app /bin/bash -c ". $BASHRC && cd $DOCKER_WORKING_DIR/reg_tests && python run_reg_tests.py -nodiff"
# Complex tests
docker exec -it app /bin/bash -c ". $BASHRC && cd $DOCKER_WORKING_DIR/reg_tests && export PETSC_ARCH=complex-opt-\$COMPILERS-\$PETSCVERSION && python run_reg_tests_cs.py -nodiff"
fi
after_script:
- docker rm -f app