This repository has been archived by the owner on May 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f5e2c73
Showing
6 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.pyc | ||
tmp_for_test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule "terryfy"] | ||
path = terryfy | ||
url = git://github.com/matthew-brett/terryfy.git | ||
[submodule "scikit-image"] | ||
path = scikit-image | ||
url = git://github.com/scikit-image/scikit-image.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: | ||
- objective-c | ||
|
||
env: | ||
matrix: | ||
- VERSION=2.7.7 NUMPY_VERSION=1.6.0 | ||
- VERSION=3.3.5 NUMPY_VERSION=1.7.1 | ||
- VERSION=3.4.1 NUMPY_VERSION=1.7.1 | ||
|
||
install: | ||
- source terryfy/travis_tools.sh | ||
- get_python_environment macpython $VERSION venv | ||
- pip install -f $NIPY_WHEELHOUSE numpy==$NUMPY_VERSION cython wheel six | ||
- cd scikit-image | ||
- python setup.py bdist_wheel | ||
- pip install dist/*.whl | ||
- cd .. | ||
|
||
script: | ||
# These packages required for tests | ||
- pip install -f $NIPY_WHEELHOUSE nose scipy pillow matplotlib | ||
# tests broken on python 3.4 for earlier numpy | ||
- if [ "${VERSION:0:3}" == "3.4" ]; then pip install -U numpy; fi | ||
- mkdir tmp_for_test | ||
- cd tmp_for_test | ||
- nosetests --exe -v skimage | ||
- cd .. | ||
|
||
before_deploy: cd scikit-image/dist | ||
deploy: | ||
provider: cloudfiles | ||
username: travis-worker | ||
api_key: | ||
secure: U+rKEiR6sQ+vsTJt3MuqqZwWvPV4gkjnQvzeR6cP9JZpfvkKuaa+vcgj7OngZ69DUgFTzRiTnFAxCbArGpDUkbP9V+kX5UgkePMdxhK+j9V0UOo8g+QwZtlqmV78pTXemWndwbqcy0uyfxuBpxhPXGSAHuzk+pZUbhH2zSEfh0s= | ||
region: ORD | ||
container: wheels | ||
skip_cleanup: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
########################## | ||
Scikit-image wheel builder | ||
########################## | ||
|
||
Repository to build scikit-image wheels. | ||
|
||
To update: | ||
|
||
* Update scikit-image submodule with version you want to build: | ||
|
||
* cd sckit-image && git pull && git checkout DESIRED_TAG | ||
* cd .. && git add scikit-image | ||
|
||
* Check minimum numpy versions to build against in ``.travis.yml`` file. You | ||
need to build against the earliest numpy that scikit-image is compatible with; | ||
see `forward, backward numpy compatibility | ||
<http://stackoverflow.com/questions/17709641/valueerror-numpy-dtype-has-the-wrong-size-try-recompiling/18369312#18369312>`_ | ||
|
||
The wheels get uploaded to a rackspace container to which I have the password. | ||
The password is encrypted to my travis account, so the upload won't work for you | ||
from another account. Either contact me to get set up, or use another upload | ||
service such as github - see for example Jonathan Helmus' `sckit-image wheels | ||
builder <https://github.com/jjhelmus/scikit-image-ci-wheel-builder>`_ | ||
|
||
I got the rackspace password from Olivier Grisel - we might be able to share | ||
this account across projects - again - please contact me or Olivier if you'd | ||
like this to happen. |
Submodule scikit-image
added at
c5919a