File tree 7 files changed +33
-9
lines changed
7 files changed +33
-9
lines changed Original file line number Diff line number Diff line change 6
6
- VERSION=3.4
7
7
- VERSION=3.5
8
8
9
+ matrix :
10
+ include :
11
+ - sudo : required
12
+ os : linux
13
+ services :
14
+ - docker
15
+ env : DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
16
+ - sudo : required
17
+ os : linux
18
+ services :
19
+ - docker
20
+ env : DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
21
+ PRE_CMD=linux32
22
+
9
23
install :
10
- - git clone https://github.com/MacPython/terryfy.git
11
- - source terryfy/library_installers.sh
12
- - clean_builds
13
- - get_python_environment macpython $VERSION venv
14
- - pip install --upgrade pip wheel
15
- - pip install -r dev-requirements.txt
24
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then source ci/travis_osx_install.sh; fi
25
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then source ci/travis_linux_install.sh; fi
16
26
17
27
script :
18
- - python setup.py test
19
- - pip wheel . -w wheelhouse/
28
+ - if [ "$TRAVIS_OS_NAME" == "osx" ]; then source ci/travis_osx_script.sh; fi
29
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then source ci/travis_linux_script.sh; fi
20
30
21
31
after_success :
22
32
- ls wheelhouse/
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ A fast bencode implementation in Cython supports both Python2 & Python3 .
9
9
:target: https://ci.appveyor.com/project/whtsky/bencoder.pyx
10
10
.. image :: https://semaphoreci.com/api/v1/whtsky/bencoder-pyx/branches/master/shields_badge.svg
11
11
:target: https://semaphoreci.com/whtsky/bencoder-pyx
12
+
13
+
14
+ .. image :: https://img.shields.io/travis/whtsky/bencoder.pyx/master.svg?maxAge=3600&label=wheels
15
+ :target: https://travis-ci.org/whtsky/bencoder.pyx
12
16
.. image :: https://codecov.io/gh/whtsky/bencoder.pyx/branch/master/graph/badge.svg
13
17
:target: https://codecov.io/gh/whtsky/bencoder.pyx
14
18
Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ test_script:
20
20
- tox
21
21
22
22
on_success :
23
- - tox -c tox-wheels.ini
24
23
- pip install codecov
25
24
- codecov
25
+ - tox -c tox-wheels.ini
26
26
27
27
deploy_script :
28
28
- echo [distutils] > %USERPROFILE%\\.pypirc
Original file line number Diff line number Diff line change
1
+ docker pull $DOCKER_IMAGE
Original file line number Diff line number Diff line change
1
+ docker run --rm -v $( pwd) :/io $DOCKER_IMAGE $PRE_CMD /io/ci/build-wheels.sh
Original file line number Diff line number Diff line change
1
+ git clone https://github.com/MacPython/terryfy.git
2
+ source terryfy/library_installers.sh
3
+ clean_builds
4
+ get_python_environment macpython $VERSION venv
5
+ pip install --upgrade pip wheel
6
+ pip install -r dev-requirements.txt
Original file line number Diff line number Diff line change
1
+ python setup.py test
2
+ pip wheel . -w wheelhouse/
You can’t perform that action at this time.
0 commit comments