Skip to content

Commit 195e33d

Browse files
committed
Merge pull request #1 from rmcgibbo/new-images
Use new pypa/ docker images
2 parents d5b5e66 + 920bdaf commit 195e33d

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
language: c
2-
sudo: required
31
notifications:
42
email: false
53

6-
services:
7-
- docker
4+
matrix:
5+
include:
6+
- sudo: required
7+
services:
8+
- docker
9+
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
10+
- sudo: required
11+
services:
12+
- docker
13+
env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
14+
PRE_CMD=linux32
815

916
install:
10-
- docker pull quay.io/manylinux/manylinux:latest
17+
- docker pull $DOCKER_IMAGE
1118

1219
script:
13-
- docker run --rm -v `pwd`:/io quay.io/manylinux/manylinux:latest /bin/bash /io/travis/build-wheels.sh
20+
- docker run --rm -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
1421
- ls wheelhouse/
15-

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
extension_module = Extension(
44
'pymanylinuxdemo.extension',
55
sources=['pymanylinuxdemo/extension.c'],
6-
library_dirs=['/usr/lib64/atlas/'],
6+
library_dirs=['/usr/lib64/atlas/', '/usr/lib/atlas'],
7+
include_dirs=['/usr/include'],
78
libraries=['cblas']
89
)
910

travis/build-wheels.sh

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/bin/bash
12
PYTHON_VERSIONS="2.7 3.4 3.5"
23

34
# Install a system package required by our library

0 commit comments

Comments
 (0)