Skip to content
Snippets Groups Projects
Commit 9b7e9b7b authored by Donald Stufft's avatar Donald Stufft
Browse files

Move ld path to .travis.yml and exclude extra pep8/lint runs

parent f86e77b3
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,21 @@ install:
- 'if [ -n "${VAR+x}" ]; then: invoke install-nacl --library=$NACL; fi'
- 'if [ -n "${VAR+x}" ]; then: invoke install --dev; fi'
script:
- invoke tests --suite=$SUITE --libpath=/usr/local/lib
- invoke tests --suite=$SUITE
env:
- NACL=libsodium SUITE=unit
- "SUITE=pep8,lint"
global:
- LD_LIBRARY_PATH=/usr/local/lib
- LD_RUN_PATH=/usr/local/lib
matrix:
- NACL=libsodium SUITE=unit
- "SUITE=pep8,lint"
matrix:
exclude:
- python: "2.6"
env: "SUITE=pep8,lint"
- python: "2.7"
env: "SUITE=pep8,lint"
- python: "3.2"
env: "SUITE=pep8,lint"
- python: "pypy"
env: "SUITE=pep8,lint"
......@@ -66,11 +66,7 @@ def install(dev=False):
@task
def tests(libpath=None, suite=None):
if libpath is not None:
os.environ["LD_LIBRARY_PATH"] = libpath
os.environ["LD_RUN_PATH"] = libpath
def tests(suite=None):
if suite is None:
suite = set(["pep8", "lint", "unit"])
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment