-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
44 lines (35 loc) · 1.84 KB
/
.travis.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
language: python
python:
- "3.6"
- "3.7"
- "3.8"
sudo: true
addons:
code_climate:
repo_token: b71434e7963902b53547f446ed0174dde0b450b878febab00936c6b74daf9cca
coverity_scan:
project:
name: "KAMI911/lactransformer"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: ""
build_command: "./setup.py build"
branch_pattern: coverity_scan
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "m1JTVQ2felTHOW0qAmOpIwW/sz9zu2yru0kk3HQXmgOVhEPJOomafeJ97iJifjFn6I8gW49mHTAz0JmXHdKWR2Yzr5RN+tesq8ap+QAEIDBHIr9rPrhtChYBnw6y1KI8O8GoDHmngpkPNVnCPlZJ7R0FkZqTVNM4QllFpggjH3KO0b4O4mSyJtk1+AgmdPDTbSXvb622D4LeXBzG1FyCYetufrBvdKVdr1vsUMNjQwVEUK3qmSICI/BU4FRHzqEJiTIt84O0SCbqeHSI1ZxFG2CWXb6RvayeR7n7ZTrv9sCyBOB06aWywCaX1ZPdT7xcdqG/PXTVMDrjGI+GXUh4KhIGcr/pLQCV2zmCBLMylU1KKzxk/XMklp/NQRVDQ9PbSF4tnNtS6TnHrKHo2KGh6Z1M/LZMPen0ZRzJdGpxSbbjt9FVnnnYsCzaCL25HEufa0y+dzf1DNHWw1XA06LfJoDeBdYNsSHvEvdyVw0JhOBYnR+xZuB2Cn3ETc1z+cZL/Fj/q4HKjApaQ32/oN+av4ntebzhESiUMlzj/RONxwYKocz1hrwZd+43pdC/U/VdJSWSgiBH8gX+ke/mt5C8wfMt5I4aU4zeoKFRB1CoA6oW093gpncxJmzgWPYW4NiXT/rFRenl+AhEoGiZAyUdjuRzXgiIYUGGwT/X9HKkNhA="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
# command to install dependencies
install:
- "pip install --upgrade pip"
- "pip install --pre -r requirements.txt"
- "pip install codeclimate-test-reporter"
# command to run test
script:
- python test_lactransformer.py
after_script:
- "coverage run test_lactransformer.py"
- "CODECLIMATE_REPO_TOKEN=b71434e7963902b53547f446ed0174dde0b450b878febab00936c6b74daf9cca codeclimate-test-reporter"