Skip to content

Commit

Permalink
Improve travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Summertime committed Nov 17, 2018
1 parent 600fd43 commit 51f0559
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ python:
- "3.4"
- "3.5"
- "3.6"
addons:
apt:
packages:
- python3-pip
before_install:
- sudo apt-get -y update
- sudo apt-get -y install python3-pip
- sudo apt-get -y install python3-dev python3-setuptools
- sudo pip3 install flit
install:
- pip install -r requirements.txt
- 'flit install --python "$(which python)"'
script:
- manly --version
- py.test
- manly ls -lAh
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,10 @@ classifiers = [
"Topic :: Software Development :: Documentation"
]

[tool.flit.metadata.requires-extra]
test = [
"pytest ~= 3.9.2",
]

[tool.flit.scripts]
manly = "manly:main"
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

0 comments on commit 51f0559

Please sign in to comment.