Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
76f8a3fb
Commit
76f8a3fb
authored
Aug 21, 2015
by
Dan O'Reilly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Travis now only tests Python2.6 on Linux.
Signed-off-by:
Dan O'Reilly
<
oreilldf@gmail.com
>
parent
3791c805
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
travis.sh
travis.sh
+21
-6
No files found.
travis.sh
View file @
76f8a3fb
...
...
@@ -113,10 +113,13 @@ build_javanano_oracle7() {
internal_install_python_deps
()
{
sudo
pip
install
tox
sudo
apt-get
install
-y
python-software-properties
# for apt-add-repository
sudo
apt-add-repository
-y
ppa:fkrull/deadsnakes
sudo
apt-get update
-qq
sudo
apt-get
install
-y
python2.6 python2.6-dev
# Only install Python2.6 on Linux.
if
[
$(
uname
-s
)
==
"Linux"
]
;
then
sudo
apt-get
install
-y
python-software-properties
# for apt-add-repository
sudo
apt-add-repository
-y
ppa:fkrull/deadsnakes
sudo
apt-get update
-qq
sudo
apt-get
install
-y
python2.6 python2.6-dev
fi
}
...
...
@@ -124,7 +127,13 @@ build_python() {
internal_build_cpp
internal_install_python_deps
cd
python
tox
-e
py26-python,py27-python
# Only test Python 2.6 on Linux
if
[
$(
uname
-s
)
==
"Linux"
]
;
then
envlist
=
py26-python,py27-python
else
envlist
=
py27-python
fi
tox
-e
$envlist
cd
..
}
...
...
@@ -134,7 +143,13 @@ build_python_cpp() {
export
LD_LIBRARY_PATH
=
../src/.libs
# for Linux
export
DYLD_LIBRARY_PATH
=
../src/.libs
# for OS X
cd
python
tox
-e
py26-cpp,py27-cpp
# Only test Python 2.6 on Linux
if
[
$(
uname
-s
)
==
"Linux"
]
;
then
envlist
=
py26-cpp,py27-cpp
else
envlist
=
py27-cpp
fi
tox
-e
$envlist
cd
..
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment