forked from epsagon/epsagon-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (31 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
36 lines (31 loc) · 720 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
32
33
34
35
36
language: python
python:
- "2.7"
- "3.6"
- "3.7"
- "3.8"
before_install:
- nvm use node # for semantic-release
install:
- pip install -r requirements-dev.txt
- pip install pylint
script:
- "pylint --msg-template='{path}:{line}: [{msg_id}({symbol}) {obj}] {msg}' epsagon/"
- pytest
- npm install && export PATH=$(pwd)/node_modules/.bin:$PATH
- ./acceptance/run.sh $TRAVIS_BUILD_NUMBER $TRAVIS_PYTHON_VERSION
jobs:
include:
- stage: build-and-deploy
provider: script
python:
- "3.8"
nodejs:
- "node"
edge: true
script:
- ./scripts/publish.sh
stages:
- Test
- name: build-and-deploy
if: branch = master AND type = push