forked from centreborelli/tsd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (26 loc) · 977 Bytes
/
Copy path.travis.yml
File metadata and controls
31 lines (26 loc) · 977 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
25
26
27
28
29
30
31
language: python
fast_finish: true
if: tag IS blank
matrix:
include:
- os: linux
dist: xenial
python: 3.7
env: GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/.gcloud-credentials.json CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- os: osx
language: generic
env: GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/.gcloud-credentials.json
before_install:
- openssl aes-256-cbc -K $encrypted_1637a71a6097_key -iv $encrypted_1637a71a6097_iv -in .gcloud-credentials.json.enc -out .gcloud-credentials.json -d
install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
# use a virtual environment to avoid having to do "pip3 install --user"
python3 -m venv venv
source venv/bin/activate
fi
- pip install -e . --upgrade --upgrade-strategy eager
script:
- bash tests.sh
- python3 tsd/test_search_scihub.py
- SATUTILS_API_URL=https://sat-api.developmentseed.org python3 tsd/test_search_devseed.py