Skip to content

Commit

Permalink
Add test of a debug-mode library build in travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavoljuhas committed Oct 16, 2016
1 parent fd0b674 commit 2593c6a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ install:

# Verify version of the installed library.
- MYINCLUDE="${MYPREFIX}/include"
- MYLIB="${MYPREFIX}/lib"
- MYVERSION="${MYINCLUDE}/diffpy/version.hpp"
- MYGIT_REV=$(grep '^#define DIFFPY_GIT_SHA' "$MYVERSION" | cut -d '"' -f 2)
- if [[ "${TRAVIS_COMMIT}" != "${MYGIT_REV}" ]]; then
Expand All @@ -108,18 +107,17 @@ install:
export MACOSX_DEPLOYMENT_TARGET=10.7;
fi

- scons build=debug prefix="${MYPREFIX}" test_installed=true alltests
- scons build=fast prefix="${MYPREFIX}" test_installed=true alltests
- MYALLTESTSFAST=$(ls -t ${PWD}/build/fast*/tests/alltests | head -1)
- scons build=debug lib alltests


before_script:


script:
- scons -Q build=debug prefix="${MYPREFIX}" test_installed=true test
- scons -Q build=debug prefix="${MYPREFIX}" test_installed=true
enable_objcryst=false test
- scons -Q build=debug test
- scons -Q build=debug enable_objcryst=false test
- ${MYALLTESTSFAST}


Expand Down

0 comments on commit 2593c6a

Please sign in to comment.