Skip to content

Commit 69a4b0e

Browse files
committed
Force only release build in Travis CI config
1 parent 7d48368 commit 69a4b0e

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ services: docker
66
before_install:
77
- docker pull simverge/pdalc-build-deps:alpine
88

9-
env:
10-
- BUILD_TYPE=Release
11-
- BUILD_TYPE=Debug
9+
#env:
10+
# - BUILD_TYPE=Release
11+
# - BUILD_TYPE=Debug
1212

1313
script:
14-
- docker run -v $TRAVIS_BUILD_DIR:/pdalc -t simverge/pdalc-build-deps:alpine -e TRAVIS_BRANCH -e BUILD_TYPE /pdalc/tests/travis/script.sh
14+
- dir $TRAVIS_BUILD_DIR
15+
- docker run -v $TRAVIS_BUILD_DIR:/pdalc -t simverge/pdalc-build-deps:alpine /pdalc/tests/travis/script.sh

tests/travis/script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ g++ --version
55

66
set CI_PROJECT_DIR=/pdalc
77
set CI_PROJECT_NAME=pdal-c
8+
set BUILD_TYPE=Release
89

910
export TARGET_PLATFORM=`uname`-`arch`-$BUILD_TYPE
10-
echo "Building $CI_PROJECT_NAME ($TRAVIS_BRANCH branch) for $TARGET_PLATFORM"
11+
#echo "Building $CI_PROJECT_NAME ($TRAVIS_BRANCH branch) for $TARGET_PLATFORM"
1112
rm -rf "$CI_PROJECT_DIR/build/$TARGET_PLATFORM"
1213
mkdir -p "$CI_PROJECT_DIR/build/$TARGET_PLATFORM"
1314
cd "$CI_PROJECT_DIR/build/$TARGET_PLATFORM"

0 commit comments

Comments
 (0)