File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ matrix:
28
28
env : PYTHON_VERSION=3.7
29
29
language : c
30
30
before_install :
31
- - openssl aes-256-cbc -K $encrypted_f8c2318670e7_key -iv $encrypted_f8c2318670e7_iv
32
- -in id_rsa_sift_sftp.enc -out /tmp/sftp_rsa -d
31
+ - if [ ! -z $encrypted_f8c2318670e7_iv ]; then
32
+ openssl aes-256-cbc -K $encrypted_f8c2318670e7_key -iv $encrypted_f8c2318670e7_iv -in id_rsa_sift_sftp.enc -out /tmp/sftp_rsa -d;
33
+ fi
33
34
install :
34
35
- git clone --depth 1 git://github.com/astropy/ci-helpers.git
35
36
- source ci-helpers/travis/setup_conda.sh
Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ def main():
55
55
script_dir = os .path .realpath (os .path .dirname (__file__ ))
56
56
if 'nux' in sys .platform :
57
57
script = os .path .join (script_dir , 'bundle_scripts' , 'SIFT.sh' )
58
- shutil .copyfile (script , os .path .join (dst , 'SIFT.sh' ))
58
+ shutil .copy (script , os .path .join (dst , 'SIFT.sh' ))
59
59
elif 'darwin' in sys .platform :
60
60
script = os .path .join (script_dir , 'bundle_scripts' , 'SIFT.sh' )
61
- shutil .copyfile (script , os .path .join (dst , 'SIFT.command' ))
61
+ shutil .copy (script , os .path .join (dst , 'SIFT.command' ))
62
62
elif 'win' in sys .platform :
63
63
script = os .path .join (script_dir , 'bundle_scripts' , 'SIFT.bat' )
64
- shutil .copyfile (script , os .path .join (dst , 'SIFT.bat' ))
64
+ shutil .copy (script , os .path .join (dst , 'SIFT.bat' ))
65
65
else :
66
66
raise RuntimeError (f"Unknown platform: { sys .platform } " )
67
67
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ unset PYTHONPATH
16
16
export PYTHONNOUSERSITE=1
17
17
18
18
# Activate the conda-pack'd environment
19
- source $BASE /activate
19
+ source $BASE /bin/ activate
20
20
21
21
# Check if we already ran conda-unpack
22
22
install_signal=" ${BASE} /.installed"
You can’t perform that action at this time.
0 commit comments