Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale committed Nov 7, 2020
2 parents eddf25e + 42645a2 commit 75302b4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis/pre_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,16 @@
print('Starting build')
# we now have our own version of travis-build.sh
#subprocess.call(['curl', '-fsLO', 'https://raw.githubusercontent.com/scijava/scijava-scripts/master/travis-build.sh'])
build_var1 = os.environ['encrypted_eb7aa63bf7ac_key']
build_var2 = os.environ['encrypted_eb7aa63bf7ac_iv']
subprocess.check_call(['bash', 'travis-build.sh', build_var1, build_var2])
key_name = 'encrypted_eb7aa63bf7ac_key'
key_iv = 'encrypted_eb7aa63bf7ac_iv'

if ( key_name in os.environ ) and ( key_iv in os.environ ):# if encrypted keys in environment
build_var1 = os.environ[key_name]
build_var2 = os.environ[key_iv]

subprocess.check_call(['bash', 'travis-build.sh', build_var1, build_var2])
else:
subprocess.check_call(['bash', 'travis-build.sh'])

# Setup conda environment
# def build_conda():
Expand Down

0 comments on commit 75302b4

Please sign in to comment.