-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (25 loc) · 892 Bytes
/
.travis.yml
File metadata and controls
26 lines (25 loc) · 892 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
language: python
python:
- "3.10"
- "3.11"
install:
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
env:
global:
- CC_TEST_REPORTER_ID=ca3dad8b97db93486d7c8d183dba70c9953d1a6e7fee7944902d597ea9b76d5c
- PORT=5037
- GATEWAY_URL=http://127.0.0.1:9000
- MICROSERVICE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Im1pY3Jvc2VydmljZSIsImNyZWF0ZWRBdCI6IjIwMTYtMDktMTQifQ.IRCIRm1nfIQTfda_Wb6Pg-341zhV8soAgzw7dd5HxxQ
- AWS_REGION=us-east-1
- REQUIRE_API_KEY=True
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- pytest --cov=gladAnalysis --cov-report=xml
after_script:
- coverage report
- coverage xml
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT