forked from Sage-Bionetworks/synapsePythonClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
24 lines (20 loc) · 1020 Bytes
/
Copy pathappveyor.yml
File metadata and controls
24 lines (20 loc) · 1020 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
build: off
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
install:
- "%PYTHON%\\python.exe -m pip install nose mock pysftp cython pandas boto3"
- "cd %APPVEYOR_BUILD_FOLDER%"
- "%PYTHON%\\python.exe setup.py install"
before_test:
- IF NOT DEFINED APPVEYOR_PULL_REQUEST_NUMBER ( ssh-keyscan -t ecdsa ec2-18-209-45-78.compute-1.amazonaws.com >> %userprofile%\\.ssh\\known_hosts )
test_script:
- cmd: "%PYTHON%\\python.exe -m nose -s tests\\unit"
- ps: |
if ( -Not $env:APPVEYOR_PULL_REQUEST_NUMBER ){
openssl aes-256-cbc -K $env:encrypted_d17283647768_key -iv $env:encrypted_d17283647768_iv -in test.synapseConfig.enc -out test.synapseConfig -d
move -force test.synapseConfig ${env:userprofile}\\.synapseConfig
}
- cmd: "IF NOT DEFINED APPVEYOR_PULL_REQUEST_NUMBER ( %PYTHON%\\python.exe -m nose -s -v tests\\integration ) ELSE ( ECHO Skipping integration tests )"