Skip to content

Commit

Permalink
attempt to build boost 1.57 in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed May 9, 2018
1 parent 27bdf7e commit be5d059
Showing 1 changed file with 37 additions and 15 deletions.
52 changes: 37 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,53 @@
language: python
notifications:
email: false
sudo: required
matrix:
fast_finish: true
env:
global:
- PYTHONUNBUFFERED=1
stages:
- name: build wheels
- name: test
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3"
install:
- pip install -U pip wheel
- git clone https://github.com/01org/hyperscan.git
- mkdir -p hyperscan/build
- cd hyperscan/build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON ../
- make
- make install
- python setup.py bdist_wheel
jobs:
fast_finish: true
include:
- stage: test
env: OS=linux
before_install: &install_hyperscan
- cd /tmp
- wget http://downloads.sourceforge.net/project/boost/boost/1.57.0/boost_1_57_0.tar.bz2
- tar xvjf boost_1_57_0.tar.bz2
- cd boost_1_57_0
- ./bootstrap --prefix=/usr
- ./b2
- ./b2 install
- pip install -U pip wheel
- git clone https://github.com/01org/hyperscan.git
- mkdir -p hyperscan/build
- cd hyperscan/build
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -G "Unix Makefiles" -DBUILD_SHARED_LIBS=ON ../
- make
- make install
- cd $TRAVIS_BUILD_DIR
sudo: required
install:
- pip install -U tox-travis
script: tox
- stage: build wheels
env: OS=linux
sudo: required
install: skip
script: docker run --rm -it -v $(pwd):/io -w /io quay.io/pypa/manylinux1_x86_64 .ci/build_linux_wheels.sh
after_success: ls -l wheelhouse/
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++
- autotools-dev
- libboost-dev
- libicu-dev

0 comments on commit be5d059

Please sign in to comment.