aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2016-03-03 09:55:26 -0600
committerHoward Butler <howard@hobu.co>2016-03-03 09:55:26 -0600
commit6ac1f5088c537173bc8d5c66d96570a1d13c0255 (patch)
tree7845f93bb6afde433166a8def59f3bea1cabfc81 /.travis.yml
parenta31d6084a4e3c33a648b884df43f1edcd5191deb (diff)
downloadPROJ-6ac1f5088c537173bc8d5c66d96570a1d13c0255.tar.gz
PROJ-6ac1f5088c537173bc8d5c66d96570a1d13c0255.zip
Build and deploy proj4.org website with every commit to the
master branch. proj4.org uses the Sphinx documentation stack, and it is located in the ./docs directory.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 8 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index b7d6dc68..7761baad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,23 +3,23 @@
language: c
-sudo: false
+services:
+ docker
compiler:
- gcc
- - clang
+# - clang
os:
- linux
- - osx
+# - osx
matrix:
exclude:
- os: osx
compiler: gcc
-before_install:
- - pip install --user cpp-coveralls
+before_install: ./travis/before_install.sh
install:
# prepare build files
@@ -104,6 +104,9 @@ script:
after_success:
- coveralls --extension .c
+ - echo "$TRAVIS_SECURE_ENV_VARS"
+ - sh -c "./travis/build_docs.sh"
+ - sh -c 'if test "$TRAVIS_SECURE_ENV_VARS" = "true" -a "$TRAVIS_BRANCH" = "master"; then echo "publish website"; ./travis/add_deploy_key.sh; ./travis/deploy_website.sh $TRAVIS_BUILD_DIR/docs/build /tmp; fi'
notifications:
#email: