aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-03-07 11:50:47 +1300
committerAldo Cortesi <aldo@corte.si>2018-03-07 11:50:47 +1300
commit538a67dc3afe6272b045d37766b1d9f0a5d5044e (patch)
treeb615eedba2c92f0c32eb86ba31fec4927d9483c0
parentfc23deb9f3c2fff469fa3911d665292de860938a (diff)
downloadmitmproxy-538a67dc3afe6272b045d37766b1d9f0a5d5044e.tar.gz
mitmproxy-538a67dc3afe6272b045d37766b1d9f0a5d5044e.tar.bz2
mitmproxy-538a67dc3afe6272b045d37766b1d9f0a5d5044e.zip
release: cleanup and re-enable all our Travis tests
Wheels are yet to come.
-rw-r--r--.travis.yml66
-rwxr-xr-xrelease/rtool.py3
2 files changed, 33 insertions, 36 deletions
diff --git a/.travis.yml b/.travis.yml
index 2d3c4626..23910601 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,43 +16,43 @@ git:
matrix:
fast_finish: true
include:
- # - python: 3.6
- # env: TOXENV=lint
+ - python: 3.6
+ env: TOXENV=lint
- os: osx
osx_image: xcode7.3
language: generic
env: TOXENV=py36 BDIST=1
- # - python: 3.5
- # env: TOXENV=py35
- # dist: precise
- # - python: 3.6
- # env: TOXENV=py36 BDIST=1
- # - python: 3.6
- # env: TOXENV=individual_coverage
- # - language: node_js
- # node_js: "node"
- # before_install:
- # - curl -o- -L https://yarnpkg.com/install.sh | bash
- # - export PATH=$HOME/.yarn/bin:$PATH
- # install:
- # - cd web && yarn
- # - yarn global add codecov
- # script: npm test && codecov
- # cache:
- # yarn: true
- # directories:
- # - web/node_modules
- # - language: python
- # env:
- # - NAME=docs
- # install:
- # - wget https://github.com/gohugoio/hugo/releases/download/v0.37/hugo_0.37_Linux-64bit.deb
- # - sudo dpkg -i hugo*.deb
- # - pip install awscli
- # script:
- # - cd docs && ./ci
- # after_success:
- # - echo done
+ - python: 3.5
+ env: TOXENV=py35
+ dist: precise
+ - python: 3.6
+ env: TOXENV=py36 BDIST=1
+ - python: 3.6
+ env: TOXENV=individual_coverage
+ - language: node_js
+ node_js: "node"
+ before_install:
+ - curl -o- -L https://yarnpkg.com/install.sh | bash
+ - export PATH=$HOME/.yarn/bin:$PATH
+ install:
+ - cd web && yarn
+ - yarn global add codecov
+ script: npm test && codecov
+ cache:
+ yarn: true
+ directories:
+ - web/node_modules
+ - language: python
+ env:
+ - NAME=docs
+ install:
+ - wget https://github.com/gohugoio/hugo/releases/download/v0.37/hugo_0.37_Linux-64bit.deb
+ - sudo dpkg -i hugo*.deb
+ - pip install awscli
+ script:
+ - cd docs && ./ci
+ after_success:
+ - echo done
install:
- |
diff --git a/release/rtool.py b/release/rtool.py
index 0eda7e6c..a3f49914 100755
--- a/release/rtool.py
+++ b/release/rtool.py
@@ -1,11 +1,9 @@
#!/usr/bin/env python3
import contextlib
-import fnmatch
import os
import sys
import platform
-import re
import runpy
import shlex
import subprocess
@@ -14,7 +12,6 @@ import zipfile
from os.path import join, abspath, dirname
import click
-import pysftp
# https://virtualenv.pypa.io/en/latest/userguide.html#windows-notes
# scripts and executables on Windows go in ENV\Scripts\ instead of ENV/bin/