Skip to content

Commit

Permalink
Use master .travis.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
nselliott committed Apr 15, 2020
1 parent eadce24 commit 3dbe734
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ env:
global:
- DO_BUILD=yes
- DO_TEST=yes
- GTEST_COLOR=1
matrix:
include:
- compiler: gcc7
- compiler: gcc4
env:
- COMPILER=g++
- IMG=gcc-7
- CMAKE_EXTRA_FLAGS="-DENABLE_CUDA=Off"
- IMG=gcc
- VERSION=4.9.3
# - compiler: clang4
# env:
# - COMPILER=clang++
# - IMG=clang-5

script:
- docker run --rm --user='root' -v ${TRAVIS_BUILD_DIR}:/home/axom axom/compilers:$IMG chown -R axom /home/axom
- docker run --rm -v ${TRAVIS_BUILD_DIR}:/home/axom -e COMPILER -e DO_BUILD -e DO_TEST -e DO_MEMCHECK -e CMAKE_EXTRA_FLAGS -e GTEST_COLOR axom/compilers:$IMG ./source/scripts/travis/build_and_test.sh
script:
- docker run --rm --user='root' -v ${TRAVIS_BUILD_DIR}:/home/llnl llnl/samrai-$IMG:${VERSION} chown -R llnl /home/llnl
- docker run --rm -v ${TRAVIS_BUILD_DIR}:/home/llnl -e COMPILER -e DO_BUILD -e DO_TEST -e CMAKE_EXTRA_FLAGS llnl/samrai-$IMG:${VERSION} ./source/scripts/travis/build_and_test.sh
19 changes: 19 additions & 0 deletions .travis.yml.save
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
services: docker
dist: trusty
language: cpp
env:
global:
- DO_BUILD=yes
- DO_TEST=yes
- GTEST_COLOR=1
matrix:
include:
- compiler: gcc7
env:
- COMPILER=g++
- IMG=gcc-7
- CMAKE_EXTRA_FLAGS="-DENABLE_CUDA=Off"

script:
- docker run --rm --user='root' -v ${TRAVIS_BUILD_DIR}:/home/axom axom/compilers:$IMG chown -R axom /home/axom
- docker run --rm -v ${TRAVIS_BUILD_DIR}:/home/axom -e COMPILER -e DO_BUILD -e DO_TEST -e DO_MEMCHECK -e CMAKE_EXTRA_FLAGS -e GTEST_COLOR axom/compilers:$IMG ./source/scripts/travis/build_and_test.sh

0 comments on commit 3dbe734

Please sign in to comment.