Skip to content

Commit

Permalink
disable osx tests on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Oct 20, 2019
1 parent 9fdaa3f commit 7971830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Expand Up @@ -2,15 +2,6 @@ language: julia

os:
- linux
- osx

before_install: # from https://github.com/mongodb/mongo-c-driver/blob/master/.travis.yml
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
# https://github.com/Homebrew/homebrew-core/issues/26358
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
# "brew install" can succeed but return 1 if it has "caveats".
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install mongodb || true; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start mongodb; fi

services:
- mongodb
Expand Down Expand Up @@ -46,7 +37,7 @@ after_success:
jobs:
include:
- stage: "Documentation"
julia: 1.1
julia: 1.2
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build("Mongoc")'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@
[![stable][docs-stable-img]][docs-stable-url]

[license-img]: http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[travis-img]: https://img.shields.io/travis/felipenoris/Mongoc.jl/master.svg?logo=travis&label=Linux+/+macOS&style=flat-square
[travis-img]: https://img.shields.io/travis/felipenoris/Mongoc.jl/master.svg?logo=travis&label=Linux&style=flat-square
[travis-url]: https://travis-ci.org/felipenoris/Mongoc.jl
[appveyor-img]: https://img.shields.io/appveyor/ci/felipenoris/mongoc-jl/master.svg?logo=appveyor&label=Windows&style=flat-square
[appveyor-url]: https://ci.appveyor.com/project/felipenoris/mongoc-jl/branch/master
Expand Down

0 comments on commit 7971830

Please sign in to comment.