forked from thiagofigueiro/nexus3-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.27 KB
/
.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
sudo: required
services:
- docker
before_install:
- docker pull sonatype/nexus3
- docker run -d --rm -p 127.0.0.1:8081:8081 --name nexus sonatype/nexus3
- cp -f tests/fixtures/dot-nexus-cli ~/.nexus-cli
language: python
python:
- '2.7'
- '3.6'
- 3.7-dev
install:
- pip install .[test]
script:
- flake8 *.py src tests --format=pylint
- pytest -m 'not integration'
- "./tests/wait-for-nexus.sh && pytest -m integration"
after_success:
- codecov
deploy:
provider: pypi
user: thiagofigueiro
password:
secure: Stv4knSaSR6q/81MACxW89F2sKtbJdFJ5CgloYG6y2uFkeDF3xkNTWk61FAdRwRrRcCSsTmd23wVSN1szZ0JxPRLcL3uxg0ItWBWOcKrAKuVi7zG1y96K+4R9fuaaebyW2hBXBNm7fzdFXq5reTCTdb8XVvMbn+IURBsb0GqQeOyGwUEhfdswY+oXccVBJ69i6oOqvJxXAqDzENkv15fmpUEzAkmFSxt7MnLwdjeG4eJk1d5JeCwji9f92CkAJZQmOHUUXjOaHEvI80SE/5ux+pzVm3Dd9A/jHpbEIyNricCiNaUiqbphQNHRW5HrrLrQPtLI5sF9+WXZhLthh8vmW5C1hEbZjG6g5D9W70TG79DIBosbeoQNlLNrP+QiLMAdbjsvQ8zvRnWJ6nLRv3AGkrUvZiFfX2bvUgf82N/mwBEBmhE0nwMXw7RVIhJxZptKaphAv+XZCwgT8nhKvUHDgxZQp0RM3Den+y3bjHAiP9YChVSk/c9ezhavAgyGK+o75+Ndmj6GeCXY7V/SqgfcXBlpd5iuiKuTfYYEk/ARK0L0SWQB4uPeWU6nE3OhU3OHPYk2HNnwTOvETZuq8KgSKgdtXkGiDs+7Ja+HIXWu1YIQyHkor07O+8SoeR7/7dCs7IFGhGCoTXkSUnSoMikppmvBnnRWR40cFfCI0336t8=
on:
tags: true
distributions: "sdist bdist_wheel"
condition: "$TRAVIS_PYTHON_VERSION = 3.6"