Skip to content

Commit

Permalink
set simple docker test to only be executed in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodmallet committed May 20, 2020
1 parent 7873a91 commit 5f442ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ notifications:
install:
# Build SimulationCraft
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then make CXX=g++-5 DEBUG=1 -C engine -j 2; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker build --build-arg THREADS=2 --build-arg NONETWORKING=1 -t simulationcraft . ; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker build --no-cache --build-arg THREADS=2 --build-arg NONETWORKING=1 -t simulationcraft . ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then make DEBUG=1 SANITIZE=1 -C engine -j 2; fi

script:
Expand All @@ -82,4 +82,5 @@ script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then valgrind --show-reachable=yes --leak-check=summary ./engine/simc PR_Raid.simc iterations=5 threads=1 fight_style=HecticAddCleave output=/dev/null cleanup_threads=1; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then valgrind --show-reachable=yes --leak-check=summary ./engine/simc PR_Raid.simc iterations=5 threads=1 fight_style=BeastLord output=/dev/null cleanup_threads=1; fi

- docker run simulationcraft ./simc spell_query=spell.name=frost_shock
# simple docker test
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker run simulationcraft ./simc spell_query=spell.name=frost_shock; fi

0 comments on commit 5f442ba

Please sign in to comment.