matrix:
  include:
    - os: osx
      osx_image: xcode8
      language: objective-c # so wrong
      before_install: brew install snappy && ./install-rocksdb-master.sh
      script: swift build -Xlinker -L/usr/local/lib && swift test

matrix:
  include:
    - os: osx
      osx_image: xcode8
      language: objective-c # so wrong
      before_install: brew install snappy && ./install-rocksdb-master.sh
      script: swift build -Xlinker -L/usr/local/lib && swift test -Xlinker -L/usr/local/lib

Add -Xlinker for test as well
Add -Xlinker for test as well
