Skip to content

Commit 1ed43e5

Browse files
committed
matrix build testing - #5
1 parent 931199c commit 1ed43e5

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.travis.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ env:
3030
- BOOST_MIN: 106100 # careful: hard coded below
3131
- GRAYBAT_ROOT: $TRAVIS_BUILD_DIR
3232
- OMP_NUM_THREADS: 4 # ignored in thread layer
33-
34-
matrix:
35-
env:
36-
- COMPILER=gcc
37-
- DEPS_RESOLVE_BY=manual
38-
- DEPS_RESOLVE_BY=conan
33+
- COMPILER: gcc
34+
matrix:
35+
- DEPS_RESOLVE_BY: manual
36+
- DEPS_RESOLVE_BY: conan
3937

4038
before_install:
4139
- mkdir -p $HOME/build
@@ -56,8 +54,8 @@ before_install:
5654
- $CC --version
5755

5856
install:
59-
- echo "$DEPS_RESOLVE_BY"
60-
- echo "$COMPILER"
57+
- echo $DEPS_RESOLVE_BY
58+
- echo $COMPILER
6159

6260
# - if [ "$DEPS_RESOLVE_BY" = "manual" ]; then
6361
# echo "Resolve library dependencies manually.";
@@ -132,13 +130,15 @@ install:
132130
# fi
133131

134132
script:
135-
- if ["$DEPS_RESOLVE_BY" = "manual"]; then
136-
cd $HOME/build;
137-
cmake $CMAKE_FLAGS $GRAYBAT_ROOT;
138-
make check
139-
elif ["$DEPS_RESOLVE_BY" = "conan"]; then
140-
cd $HOME/build;
141-
conan install $GRAYBAT_ROOT --build=missing;
142-
cmake $CMAKE_FLAGS $GRAYBAT_ROOT;
143-
make check
144-
fi
133+
- echo $DEPS_RESOLVE_BY
134+
- echo $COMPILER
135+
#- if ["$DEPS_RESOLVE_BY" = "manual"]; then
136+
# cd $HOME/build;
137+
# cmake $CMAKE_FLAGS $GRAYBAT_ROOT;
138+
# make check
139+
# elif ["$DEPS_RESOLVE_BY" = "conan"]; then
140+
# cd $HOME/build;
141+
# conan install $GRAYBAT_ROOT --build=missing;
142+
# cmake $CMAKE_FLAGS $GRAYBAT_ROOT;
143+
# make check
144+
# fi

0 commit comments

Comments
 (0)