forked from aws/serverless-application-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (30 loc) · 654 Bytes
/
.travis.yml
File metadata and controls
36 lines (30 loc) · 654 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
# Enable container based builds
sudo: false
dist: xenial # required for Python >= 3.7
language: python
matrix:
include:
- python: 3.8
env:
- TOXENV=py38
- python: 3.7
env:
- TOXENV=py37
- python: 3.6
env:
- TOXENV=py36
- python: 2.7
env:
- TOXENV=py27
install:
# Install the code requirements
- mkdir $HOME/bin-black
- wget -O $HOME/bin-black/black https://github.com/python/black/releases/download/19.10b0/black
- chmod +x $HOME/bin-black/black
- export PATH=$PATH:$HOME/bin-black
- black --version
- make init
# Install Docs requirements
script:
# Runs unit tests
- tox