Skip to content
98 changes: 48 additions & 50 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
sudo: required
language: python
dist: trusty

python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"

env:
global:
Expand All @@ -15,64 +13,63 @@ env:
- INCLUDE_DIR=./libevmjit_ext/include:/opt/gcc-4.6.3/include/c++/4.6.3:/opt/gcc-4.6.3/include/c++/4.6.3/x86_64-unknown-linux-gnu
- WHEELBUILDER_IMAGE=quay.io/pypa/manylinux1_x86_64
- PYPI_USERNAME=insert_pypi_upload_username_here
matrix:
- BUNDLED=0
- BUNDLED=1
# matrix:
# - BUNDLED=0
# - BUNDLED=1

cache:
ccache: true
directories:
- $HOME/.cache/pip
- $HOME/.cache/python-dl
- build/evmjit/build

# Sigh... Until Travis issue #2312 is fixed Travis' osx image doesn't properly
# support Python so we need to manually specify this matrix...
matrix:
include:
- os: osx
language: generic
osx_image: xcode7.1
python: 2.7
env:
- TRAVIS_PYTHON_VERSION=2.7
- BUNDLED=1
- os: osx
language: generic
osx_image: xcode7.1
python: 3.4
env:
- TRAVIS_PYTHON_VERSION=3.4
- BUNDLED=1
- os: osx
language: generic
osx_image: xcode7.1
python: 3.5
env:
- TRAVIS_PYTHON_VERSION=3.5
- BUNDLED=1
# Build `manylinux1` wheels
- os: linux
language: python
python: 3.5
sudo: required
services:
- docker
env:
- BUNDLED=1
- BUILD_LINUX_WHEELS=1
# matrix:
# include:
# - os: osx
# language: generic
# osx_image: xcode7.1
# python: 2.7
# env:
# - TRAVIS_PYTHON_VERSION=2.7
# - BUNDLED=1
# - os: osx
# language: generic
# osx_image: xcode7.1
# python: 3.4
# env:
# - TRAVIS_PYTHON_VERSION=3.4
# - BUNDLED=1
# - os: osx
# language: generic
# osx_image: xcode7.1
# python: 3.5
# env:
# - TRAVIS_PYTHON_VERSION=3.5
# - BUNDLED=1
# # Build `manylinux1` wheels
# - os: linux
# language: python
# python: 3.5
# sudo: required
# services:
# - docker
# env:
# - BUNDLED=1
# - BUILD_LINUX_WHEELS=1

addons:
apt:
packages:
- git
- libtool
- cmake
- pkg-config
- libffi-dev
- libgmp-dev
- libatomic-ops-dev

before_install:
- source .travis/install.sh
- git clone --depth 1 https://github.com/ethereum/tests ~/ethereum-tests
- export ETHEREUM_TEST_PATH=~/ethereum-tests
- pip install pytest sha3

install:
- python setup.py install
Expand All @@ -86,13 +83,14 @@ install:
# into producing correct paths. For that to work we need to re-rename the
# source back to it's correct name.
script:
- mv evmjit _evmjit
- coverage run --parallel --include="*/site-packages/*.egg/evmjit/*" -m py.test
- mv _evmjit evmjit
- coverage combine
# - mv evmjit _evmjit
# - coverage run --parallel --include="*/site-packages/*.egg/evmjit/*" -m py.test
# - mv _evmjit evmjit
# - coverage combine
- py.test

after_success:
- coveralls
# - coveralls

deploy:
provider: script
Expand Down
55 changes: 0 additions & 55 deletions _cffi_build/build.py

This file was deleted.

Loading