-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from mustafa-travisci/patch-1
Update .travis.yml
- Loading branch information
Showing
1 changed file
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
--- | ||
language: python | ||
python: | ||
- 3.9.5 # Fails with latest Python 3.9 see https://github.com/ltonetwork/lto-api.python/issues/65 | ||
- 3.8 | ||
|
||
branches: | ||
only: | ||
|
@@ -11,10 +9,10 @@ branches: | |
before_install: | ||
- git config --local user.name "LTO Network" | ||
- git config --local user.email "[email protected]" | ||
install: | ||
- pip3 install . | ||
|
||
before_script: | ||
- pip3 install pytest | ||
|
||
script: | ||
- pytest | ||
|
||
|
@@ -24,6 +22,19 @@ stages: | |
|
||
jobs: | ||
include: | ||
- stage: test | ||
python: | ||
- 3.8 | ||
install: | ||
- pip3 install . | ||
|
||
- stage: test | ||
python: | ||
- 3.9.7 | ||
install: | ||
- source ~/virtualenv/python3.9/bin/activate | ||
- pip3 install . | ||
|
||
- name: "Publish GitHub release" | ||
stage: deploy | ||
if: branch = main AND type = push | ||
|