Skip to content
Snippets Groups Projects
.travis.yml 1.22 KiB
# After changing this file, check it on:
#   http://lint.travis-ci.org/
language: python
sudo: false

matrix:
  include:
    - os: linux
      python: 3.6
      env:
        - TOXENV=pylint
    - os: linux
      python: 3.6
      env:
        - TOXENV=flake8
    - os: linux
      python: 3.6
      env:
        - TOXENV=bandit
    - os: linux
      python: 3.6
      env:
        - TOXENV=readme
    - os: linux
      python: 2.7
      env:
        - TOXENV=short
    - os: linux
      python: 3.4
      env:
        - TOXENV=short
    - os: linux
      python: 3.5
      env:
        - TOXENV=short
    - os: linux
      python: 3.6
      env:
        - TOXENV=py36short
    - os: osx
      osx_image: xcode9.2
      language: objective-c
      env:
        - TRAVIS_PYTHON_VERSION=3.6
        - TOXENV=short

cache: pip

before_install:
  - uname -a
  - df -h
  - ulimit -a
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source util/travis_osx_install.sh; fi
  - ccache -s
  - which python; python --version
  - pip install --upgrade pip
  - pip install --upgrade wheel
  # Set numpy version first, other packages link against it
  - pip install six nose coverage codecov tox-travis pytest parameterized secp256k1 cryptography scrypt

script:
 - tox