mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Change Travis over to OS X based VM, as that seems to produce a more stable build environment. Disable Node 10 build for now (we can test locally for that and we're not defining 10 as a valid hosting version for now)
This commit is contained in:
+10
-4
@@ -1,10 +1,16 @@
|
||||
language: node_js
|
||||
sudo: required
|
||||
dist: trusty
|
||||
os: osx
|
||||
node_js:
|
||||
- "8"
|
||||
- "10"
|
||||
before_install: if [[ `npm --version` != "5.8.0" ]]; then npm install -g npm@latest; npm --version; fi
|
||||
before_install:
|
||||
- if [[ `npm --version` != "5.8.0" ]]; then npm install -g npm@latest; npm --version; fi
|
||||
- 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
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install docker || true; fi
|
||||
matrix:
|
||||
fast_finish: true
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user