forked from fantasy/cppjieba-py
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
54 lines (52 loc) · 1.91 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
notifications:
email: false
# matrix:
# include:
# - sudo: required
# services:
# - docker
# env: DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
# PLAT=manylinux1_x86_64
# - sudo: required
# services:
# - docker
# env: DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
# PRE_CMD=linux32
# PLAT=manylinux1_i686
# - sudo: required
# services:
# - docker
# env: DOCKER_IMAGE=quay.io/pypa/manylinux2010_x86_64
# PLAT=manylinux2010_x86_64
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
sudo: false
git:
submodules: false
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -y update
- sudo apt-get -y install build-essential
- sudo apt-get -y install g++-5
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 1
- g++ --version
- git submodule update --init cppjieba_py/cppjieba
install:
- pip install ".[test]"
script:
- nosetests -c nose.cfg
# before_deploy:
# - docker run --rm -e PLAT=$PLAT -v "$(pwd)":/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
deploy:
# on:
# tags: true
provider: pypi
distributions: sdist
user: __token__
password:
secure: fzIztIC2P0xWqEUHSYelFcnbC7aRV6OCgTtLExafvWRLl6W555X3iHUXI6KsVN7YNZOedXl0TqhFrlbCXky/Ub9ReoV6/htd3xsubQUXWWALwA3bynAH46AQIe21UH6dhC62LNMbjHVnrEAC4w9GVlsigqIYESavcXCypWwk+bziiYpTFpkTxnSAFeelL2PzOEzvjlMvIu7lN15+ODuk/HmAPKO2FTTqsr2B8xkYQpC09vK482hSVblFJqokSPQmxhRMgZ+Q03zNQNnsvgZY2J8KYqsRSH/A1JRwxNorefsM5yTfY1sORgDD1MpwcxPhF5FGLJTzNJ6jXBW5l/uUUjLXaEa4ohNA9xWoQ+QKwGkCjPA4N3F9zaBTyS7vK07pBxPXN2RyBfmUS4DkpbEyGj/29lq8Ixe3q5LneAItlzhLzhSxtcQmqTA1dyutetbn9kxg/u6J7TYCw4UlCCoOKKKBln9kifoa7cNwJoPHfXqnY1roqppSmvgIwHJf8wdtJlfGYSW6jNEUKQPgn41kEK6shO5ue3Sxe+qk0kM0d7DUpa4ZI+6vGIx6A187Xj2x5NlLii6zunJweEK/ifxOOgdwTtVl/kgPr89Nzely1Qipx15D4p2q4r1A7Mk//LXx3gWDcVGjQA0pB49q+kASonaD0eSD184Im+I94YhlQSI=
skip_existing: true