-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (39 loc) · 873 Bytes
/
.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
dist: xenial # for python >= 3.7
language: python
install:
- pip install black flake8 mypy mccabe
- pip install -r requirements.txt
cache: pip
git:
depth: false
script:
- $TEST_CMD
before_install:
- echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc
- git lfs pull
matrix:
include:
- name: "mypy"
python: 3.7
env:
- TEST_CMD="mypy ."
- name: "black"
python: 3.7
env:
- TEST_CMD="black --check --verbose ."
- name: "flake8"
python: 3.7
env:
- TEST_CMD="flake8 ."
- name: "differences.py"
python: 3.7
env:
- TEST_CMD="python -m xrfp.input.differences"
- name: "Parse"
python: 3.7
env:
- TEST_CMD="python -m xrfp.input.parse"
- name: "Structures"
python: 3.7
env:
- TEST_CMD="python -m xrfp.input.structures"