Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:searchivarius/nmslib into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
searchivairus committed Dec 11, 2017
2 parents c029f6b + 37ce9be commit a69becb
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
language: cpp

matrix:
fast_finish: true
include:
- os: linux
env: PYTHON=2.7
- os: linux
env: PYTHON=3
- os: osx
env: PYTHON=3.6
allow_failures:
- os: osx

addons:
apt:
sources:
Expand All @@ -15,6 +22,10 @@ addons:
- liblapack-dev
- gfortran
- cmake
- python3-dev
- libboost-all-dev
- libgsl0-dev
- libeigen3-dev

before_install:
- |
Expand All @@ -30,9 +41,15 @@ before_install:
source venv/bin/activate
install:
- cmake similarity_search && make -j 4
- travis_wait travis_retry pip install -r python_bindings/requirements.txt scipy six flake8
- travis_retry cd python_bindings && python setup.py build install && cd ..
- |
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
cmake similarity_search -DWITH_EXTRAS=1
else
cmake similarity_search
fi
make -j 4
travis_wait travis_retry pip install -r python_bindings/requirements.txt scipy six flake8
travis_retry cd python_bindings && python setup.py build install && cd ..
script:
- |
Expand All @@ -46,6 +63,7 @@ script:
python setup.py test
flake8
cd ..
cache:
- apt
- directories:
Expand Down

0 comments on commit a69becb

Please sign in to comment.