Skip to content

Commit

Permalink
More CI stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Nov 27, 2018
1 parent db1c626 commit 805ab2c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 39 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ script:
- docker run -v $TRAVIS_BUILD_DIR:/pdal -t pdal/alpinebase:latest /pdal/scripts/ci/script.sh

after_success:
- echo "secure travis:" "$TRAVIS_SECURE_ENV_VARS"
- sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "1.8-maintenance"; then echo "publish website"; ./scripts/ci/build_docs.sh; ./scripts/ci/add_deploy_key.sh; ./scripts/ci/deploy_website.sh $TRAVIS_BUILD_DIR/doc/build /tmp; fi'
- ./scripts/ci/after_success.sh
# - echo "secure travis:" "$TRAVIS_SECURE_ENV_VARS"
# - sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "1.8-maintenance"; then echo "publish website"; ./scripts/ci/build_docs.sh; ./scripts/ci/add_deploy_key.sh; ./scripts/ci/deploy_website.sh $TRAVIS_BUILD_DIR/doc/build /tmp; fi'

notifications:
on_success: always
Expand Down
11 changes: 11 additions & 0 deletions scripts/ci/after_success.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

echo $TRAVIS_SECURE_ENV_VARS
if [ $TRAVIS_SECURE_ENV_VARS = "true" -a $TRAVIS_BRANCH = "1.8-maintenance ]
then
echo "publishing website"
./build_docs.sh
./add_deploy_key.sh
./deploy_website.sh
$TRAVIS_BUILD_DIR/doc/build /tmp
fi
6 changes: 0 additions & 6 deletions scripts/ci/before_install.sh

This file was deleted.

31 changes: 0 additions & 31 deletions scripts/ci/common.sh

This file was deleted.

0 comments on commit 805ab2c

Please sign in to comment.