changeset 1267:32245a78d3f9

deploy
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Jan 2015 17:02:15 +0100
parents a128349e25f0
children bdf0edee5fe9
files .travis.yml
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml	Thu Jan 08 16:36:32 2015 +0100
+++ b/.travis.yml	Thu Jan 08 17:02:15 2015 +0100
@@ -2,14 +2,14 @@
 
 env:
   - TRAVIS_MINGW=OFF
-  - TRAVIS_MINGW=ON
+#  - TRAVIS_MINGW=ON
 
 compiler:
   - gcc
-  - clang
+#  - clang
 
 os:
-  - osx
+#  - osx
   - linux
 
 osx_image: xcode61
@@ -50,12 +50,18 @@
     -DCMAKE_BUILD_TYPE=Debug -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DALLOW_DOWNLOADS=ON
     ..; fi
 
-script: make && if [ $TRAVIS_MINGW == OFF ]; then ./UnitTests; fi
+#script: make && if [ $TRAVIS_MINGW == OFF ]; then ./UnitTests; fi
+
+script: cp ../README Orthanc
+
+
+before_deploy: git fetch --tags
 
 deploy:
   provider: releases
   api_key:
     secure: WU+niKLAKMoJHST5EK23BayK4qXSrXELKlJYc8wRjMO4ay1KSgvzlY2UGKeW1EPClBfZZ0Uh5VKF8l34exsfirFuwCX2qceozduZproUszZ4Z88X8wt8Ctu8tBuuKLZYFc9iNH4zw+QZyRuPyXK9iWpS0L9O20pqy5upTsagM3o=
+  file_glob: true
   file:
     - 'Build/Orthanc'
     - 'Build/UnitTests'
@@ -63,4 +69,5 @@
     - 'BuildMinGW32/UnitTests.exe'
   skip_cleanup: true
   on:
+    tags: true
     all_branches: true