Skip to content
This repository was archived by the owner on Oct 6, 2023. It is now read-only.

Commit facb328

Browse files
committed
Simplify Travis testing
1 parent aca8b70 commit facb328

File tree

2 files changed

+15
-24
lines changed

2 files changed

+15
-24
lines changed

.travis.yml

+15-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
1-
matrix:
2-
include:
3-
- language: python
4-
python:
5-
- "3.6"
6-
- "3.7"
7-
- "3.8"
8-
install:
9-
- pip install flake8 bandit black
10-
- pip install .
11-
script:
12-
- make test
13-
- scraper -h
14-
- language: node_js
15-
node_js:
16-
- "12"
17-
cache: npm
18-
install:
19-
- npm install -g markdownlint-cli
20-
script:
21-
- make test_npm
1+
language: python
2+
3+
python:
4+
- "3.6"
5+
- "3.7"
6+
- "3.8"
7+
8+
install:
9+
- pip install flake8 bandit black
10+
- pip install .
11+
- npm install -g markdownlint-cli
12+
13+
script:
14+
- make test
15+
- scraper -h

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ test:
22
bandit -r scraper/
33
flake8 scraper/
44
black --check scraper/
5-
6-
test_npm:
75
markdownlint '**/*.md'
86

97
release: test
10-
test_npm
118
python setup.py sdist bdist_wheel
129

1310
upload:

0 commit comments

Comments
 (0)