Skip to content

Commit

Permalink
Working on getting travis to build the bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
derwolfe committed Dec 31, 2014
1 parent 5a5e328 commit ee81996
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
language: python
os:
- osx
- linux

env:
- TOX_ENV=lint
Expand All @@ -8,11 +11,28 @@ env:
- TOX_ENV=docs
- TOX_ENV=docs-spellcheck
- TOX_ENV=docs-linkcheck
- TOX_ENV=bundle

matrix:
allow_failures:
- env: "TOX_ENV=docs-linkcheck"

exclude:
- os: osx
env: lint
- os: osx
env: py26
- os: osx
env: py27
- os: osx
env: docs
- os: osx
env: docs-spellcheck
- os: osx
env: docs-linkcheck
- os: linux
env: bundle

install:
- ./.travis/install.sh

Expand Down
10 changes: 10 additions & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,14 @@ if [[ "${TOX_ENV}" == "docs-spellcheck" ]]; then
fi
fi

if [[ "${TOX_ENV}" == "bundle" ]]; then
if [[ "$DARWIN" = true ]]; then
brew update
brew install python pyenv

# a non-system python must be used for py2app.
pyenv local 2.7.9
fi
fi

pip install tox coveralls
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,11 @@ max-line-length = 105

[doc8]
extensions = rst

[bundle]
deps =
-rrequirements.txt
-rdev-requirements.txt
-rpy2app-requirements.txt
commands =
make

0 comments on commit ee81996

Please sign in to comment.