Skip to content
Permalink
Browse files

Some more travis.sh refactoring and performance improvements

OSx build is now faster than trusty build! Amazing!
  • Loading branch information...
cslux committed Apr 17, 2019
1 parent d10af5f commit a3a98726addeaee03982b8ee9376709e493e5dee
Showing with 1 addition and 13 deletions.
  1. +0 −9 .travis.yml
  2. +1 −4 scripts/travis.sh
@@ -1,13 +1,4 @@
language: cpp
before_cache:
- test -x `which brew` && brew cleanup
- rm -f $HOME/.cache/pip/log/debug.log

cache:
- ccache: true
- pip: true
- directories:
- $HOME/Library/Caches/Homebrew

sudo: required
git:
@@ -53,14 +53,11 @@ function add_cmake_params()
function osx()
{
## Step -- Setup
python3 -m pip install --upgrade pip
pip3 install --user --upgrade nose PyHamcrest

## Step -- Build
mkdir -p ~/.local/bin
ln -s /usr/local/Cellar/numpy/*/libexec/nose/bin/nosetests-3.6 \
~/.local/bin/nosetests
export PYTHONPATH=/usr/local/lib/python3.6/site-packages
ln -s /usr/local/Cellar/numpy/*/libexec/nose/bin/nosetests-3.6 ~/.local/bin/nosetests
export LIBCLANG_LLVM_CONFIG_EXECUTABLE=$(find /usr/local/Cellar/llvm/*/bin -name llvm-config 2>/dev/null)
# Help cmake to find openssl includes/library
add_cmake_params "-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl"

0 comments on commit a3a9872

Please sign in to comment.
You can’t perform that action at this time.