Skip to content

Commit

Permalink
Try pushing the nightly tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
cxbrooks committed Mar 22, 2018
1 parent d76aa68 commit 3314180
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ env:
# Run separate jobs with these variables. The name of the
# variable corresponds with the target name in $PTII/build.xml and
# should be alphabetical.
- PT_TRAVIS_BUILD_ALL=true
#- PT_TRAVIS_BUILD_ALL=true
- PT_TRAVIS_DOCS=true
- PT_TRAVIS_INSTALLERS=true
- PT_TRAVIS_TEST_CAPECODE_XML=true
- PT_TRAVIS_TEST_REPORT_SHORT=true
#- PT_TRAVIS_INSTALLERS=true
#- PT_TRAVIS_TEST_CAPECODE_XML=true
#- PT_TRAVIS_TEST_REPORT_SHORT=true
global:
# Environment variables shared between all builds(in alphabetical order)

Expand Down Expand Up @@ -107,14 +107,16 @@ cache:
- $PTII/vendors/misc/sphinx4
- $PTII/vendors/opencv

# before_deploy:
# # Set up git user name and tag this commit
# - git config --local user.name "cxbrooks"
# - git config --local user.email "cxh@eecs.berkeley.edu"
# - git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
# - echo $PTII
# - ls -l $PTII/logs
# - pwd
before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "cxbrooks"
- git config --local user.email "cxh@eecs.berkeley.edu"
# - git tag "$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)"
- git tag nightly
- git push origin --tags
- echo $PTII
- ls -l $PTII/logs
- pwd

deploy:
# - provider: pages
Expand All @@ -129,10 +131,12 @@ deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: $PTII/adm/gen-11.0/ptII11.0.devel.setup.mac.jar
# file: $PTII/adm/gen-11.0/ptII11.0.devel.setup.mac.jar
file: $PTII/doc/codeDoc.jar
on:
tags: true
condition: $PT_TRAVIS_INSTALLERS = true
tags: nightly
condition: $PT_TRAVIS_DOCS = true
overwrite: true
skip_cleanup: true
verbose: true

0 comments on commit 3314180

Please sign in to comment.