Skip to content

Commit

Permalink
Adding Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
hanpeter committed Oct 2, 2018
1 parent b3fe31c commit 935af8f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: python
python:
- "3.6"
- "3.7"
branches:
only:
- master
- /^\d+\.\d+\.\d+$/ # Use sem var
install:
# Print out the version of Python and pip
- python --version
- pip --version
# Install dependencies
- pip install poetry
- poetry install
script:
# Unit tests
- poetry run pytest
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Peter Han <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.6"
click = "^7.0"
boto3 = "^1.9"

Expand Down

0 comments on commit 935af8f

Please sign in to comment.