File tree Expand file tree Collapse file tree 4 files changed +22
-15
lines changed Expand file tree Collapse file tree 4 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 3
3
set -e -x
4
4
5
5
if [ " ${TRAVIS_OS_NAME} " == " osx" ]; then
6
- brew update
7
-
8
- brew outdated postgresql || brew upgrade postgresql
9
-
10
- brew outdated pyenv || brew upgrade pyenv
6
+ git clone --depth 1 https://github.com/yyuu/pyenv.git ~ /.pyenv
7
+ PYENV_ROOT=" $HOME /.pyenv"
8
+ PATH=" $PYENV_ROOT /bin:$PATH "
11
9
eval " $( pyenv init -) "
12
- pyenv versions
13
10
14
11
if ! (pyenv versions | grep " ${PYTHON_VERSION} $" ); then
15
12
pyenv install ${PYTHON_VERSION}
16
13
fi
17
- pyenv local ${PYTHON_VERSION}
14
+ pyenv global ${PYTHON_VERSION}
15
+ pyenv rehash
18
16
fi
19
17
20
18
pip install --upgrade pip wheel
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e -x
4
+
5
+ if [ " ${TRAVIS_OS_NAME} " == " osx" ]; then
6
+ PYENV_ROOT=" $HOME /.pyenv"
7
+ PATH=" $PYENV_ROOT /bin:$PATH "
8
+ eval " $( pyenv init -) "
9
+ fi
10
+
11
+ make && make test
12
+ make debug && make test
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ services:
6
6
- postgresql
7
7
- docker
8
8
9
- addons :
10
- postgresql : ' 9.4'
11
-
12
9
env :
13
10
global :
14
11
- PYMODULE=asyncpg
19
16
matrix :
20
17
include :
21
18
- os : osx
22
- osx_image : beta-xcode6 .1 # OS X 10.9
19
+ osx_image : xcode7 .1 # OS X 10.10
23
20
# Travis macOS env does not support Python yet,
24
21
# so we have to set things up manually in install.sh.
25
22
env : PYTHON_VERSION=3.5.2
@@ -30,6 +27,8 @@ matrix:
30
27
language : python
31
28
python : " 3.5"
32
29
services : [postgresql, docker]
30
+ addons :
31
+ postgresql : ' 9.4'
33
32
34
33
cache :
35
34
directories :
@@ -42,9 +41,7 @@ install:
42
41
- .ci/travis-install.sh
43
42
44
43
script :
45
- - if [ "$TRAVIS_OS_NAME" == "osx" ]; then eval "$(pyenv init -)"; fi
46
- - make && make test
47
- - make debug && make test
44
+ - .ci/travis-tests.sh
48
45
- .ci/travis-build-docs.sh
49
46
50
47
before_deploy :
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def _patch_cfile(self, cfile):
162
162
163
163
setuptools .setup (
164
164
name = 'asyncpg' ,
165
- version = '0.6.2 ' ,
165
+ version = '0.6.3 ' ,
166
166
description = 'An asyncio PosgtreSQL driver' ,
167
167
classifiers = [
168
168
'License :: OSI Approved :: Apache Software License' ,
You can’t perform that action at this time.
0 commit comments