Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
5d30b907
Commit
5d30b907
authored
11 years ago
by
Donald Stufft
Browse files
Options
Downloads
Patches
Plain Diff
Use tox to test
parent
4bf89870
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+19
-17
19 additions, 17 deletions
.travis.yml
tox.ini
+8
-0
8 additions, 0 deletions
tox.ini
with
27 additions
and
17 deletions
.travis.yml
+
19
−
17
View file @
5d30b907
language
:
python
python
:
-
"
2.6"
-
"
2.7"
-
"
3.2"
-
"
3.3"
# - "pypy" # Travis only has PyPy 1.9, cffi requires 2.0 (Unreleased)
python
:
2.7
env
:
-
TOX_ENV=py26
-
TOX_ENV=py27
-
TOX_ENV=py32
-
TOX_ENV=py33
-
TOX_ENV=pypy
install
:
-
pip install invoke
-
pip install file://$PWD#egg=pynacl[tests]
-
invoke sodium.install
-
"
[[
${TOX_ENV}
==
pypy
]]
&&
sudo
add-apt-repository
-y
ppa:pypy/ppa
||
true"
-
"
[[
${TOX_ENV}
==
pypy
]]
&&
sudo
apt-get
-y
update
&&
sudo
apt-get
-y
install
pypy
||
true"
# This is required because we need to get rid of the Travis installed PyPy
# or it'll take precedence over the PPA installed one.
-
"
[[
${TOX_ENV}
==
pypy
]]
&&
sudo
rm
-rf
/usr/local/pypy/bin
||
true"
-
pip install tox coveralls
script
:
-
invoke tests
env
:
global
:
-
LD_LIBRARY_PATH=/usr/local/lib
-
LD_RUN_PATH=/usr/local/lib
branches
:
only
:
-
master
-
tox -e $TOX_ENV
after_success
:
-
coveralls
This diff is collapsed.
Click to expand it.
tox.ini
0 → 100644
+
8
−
0
View file @
5d30b907
[tox]
envlist
=
py26,py27,pypy,py32,py33
[testenv]
deps
=
pytest
pytest-cov
commands
=
py.test --cov=nacl/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment