diff --git a/.travis.yml b/.travis.yml index 896490ce5..07cb80df8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,15 @@ jdk: - openjdk8 script: - "ant -buildfile build.xml clean check jar unittest" + +after_success: + - ls -lh /home/travis/build/openrocket/openrocket/swing/build/jar/OpenRocket.jar + - ls -lh /home/travis/build/openrocket/openrocket/swing/build/jar/OpenRocket-Core.jar + - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + - bash upload.sh /home/travis/build/openrocket/openrocket/swing/build/jar/OpenRocket.jar + - bash upload.sh /home/travis/build/openrocket/openrocket/swing/build/jar/OpenRocket-Core.jar + +branches: + except: + - # Do not build tags that we create when we upload to GitHub Releases + - /^(?i:continuous)$/