Skip to content

Commit 2593c6a

Browse files
committed
Add test of a debug-mode library build in travis.
1 parent fd0b674 commit 2593c6a

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ install:
9595

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

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

115114

116115
before_script:
117116

118117

119118
script:
120-
- scons -Q build=debug prefix="${MYPREFIX}" test_installed=true test
121-
- scons -Q build=debug prefix="${MYPREFIX}" test_installed=true
122-
enable_objcryst=false test
119+
- scons -Q build=debug test
120+
- scons -Q build=debug enable_objcryst=false test
123121
- ${MYALLTESTSFAST}
124122

125123

0 commit comments

Comments
 (0)