matrix:
  include:
  - os: linux
    dist: trusty
    sudo: required  
  - os: osx
    osx_image: xcode8
    sudo: required
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
    sudo apt-get update;      
    sudo apt-get install liblapack3 liblapacke liblapacke-dev -y;  
    sudo apt-get install libopenblas-base libopenblas-dev -y;    
  fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
    brew update;
    brew install homebrew/dupes/lapack;
    brew install homebrew/science/openblas;
    ls /usr/local/opt/openblas/lib;
  fi  
- git clone https://github.com/IBM-Swift/Package-Builder.git
script:
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
matrix:
  include:
  - os: linux
    dist: trusty
    sudo: required  
  - os: osx
    osx_image: xcode8
    sudo: required
  allow_failures:
  - os: osx
    osx_image: xcode8
    sudo: required  
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
    sudo apt-get update;      
    sudo apt-get install liblapack3 liblapacke liblapacke-dev -y;  
    sudo apt-get install libopenblas-base libopenblas-dev -y;    
  fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
    brew update;
    brew install homebrew/dupes/lapack;
    brew install homebrew/science/openblas;
    ls /usr/local/opt/openblas/lib;
  fi  
- git clone https://github.com/IBM-Swift/Package-Builder.git
script:
- ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
Allow macOS failures for now
Allow macOS failures for now
