-
Notifications
You must be signed in to change notification settings - Fork 100
/
.travis.yml
54 lines (48 loc) · 887 Bytes
/
.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
matrix:
include:
- language: python
python: "3.7"
dist: xenial
sudo: true
install:
- nvm install --lts
- nvm use --lts
- pip install -q tox coverage coveralls tox-travis
script:
- coverage erase
- tox
after_success:
- coverage combine
- coveralls
cache: pip
notifications:
email:
- boerni@gmail.com
before_deploy:
- git stash --all
- tox -e prepare_npm
_deploy_provider: &_deploy_provider
skip_cleanup: true
on:
tags: true
repo: ierror/django-js-reverse
python: "3.7"
deploy:
- <<: *_deploy_provider
provider: pypi
distributions: sdist bdist_wheel
user: __token__
password: $PYPI_TOKEN
- <<: *_deploy_provider
provider: npm
email: django-js-reverse@graingert.co.uk
api_key: $NPM_TOKEN