Skip to content

Commit

Permalink
Testing [full_matrix] [deploy_github] [deploy_pypi]
Browse files Browse the repository at this point in the history
  • Loading branch information
scrgiorgio committed Nov 16, 2018
1 parent c3f434d commit 4c89375
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ matrix:


script:
- |
cd "${TRAVIS_BUILD_DIR}"
bash ./CMake/build_${OS_NAME}.sh
cd build
- cd "${TRAVIS_BUILD_DIR}"
- bash ./CMake/build_${OS_NAME}.sh
- cd build
- |
export DEPLOY_GITHUB=1
export DEPLOY_GITHUB=0
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[deploy_github]"* ]]; then
echo "Deploying to github enabled"
export DEPLOY_GITHUB=1
Expand All @@ -87,9 +85,8 @@ script:
export SDIST_FILE=$(find ${TRAVIS_BUILD_DIR}/build/install/dist -iname "*.tar.gz")
export SDIST_FILE=${SDIST_FILE/.tar.gz/.${OS_NAME}_${OS_VERSION}.tar.gz}
fi
- |
export DEPLOY_PYPI=1
export DEPLOY_PYPI=0
if [[ "${OS_NAME}" == "osx" || "${OS_NAME}" == "manylinux" ]] ; then
if [[ "$TRAVIS_COMMIT_MESSAGE" == *"[deploy_pypi]"* ]] ; then
echo "Deploying to pypi enabled"
Expand Down

0 comments on commit 4c89375

Please sign in to comment.