-
Notifications
You must be signed in to change notification settings - Fork 71.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from nightscout/dev
Dev
- Loading branch information
Showing
18 changed files
with
614 additions
and
964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
language: node_js | ||
node_js: | ||
- "10" | ||
- "8" | ||
os: | ||
- osx | ||
before_install: | ||
- 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 | ||
sudo: required | ||
dist: xenial | ||
|
||
node_js-steps: &node_js-steps | ||
language: node_js | ||
before_install: | ||
- if [[ `npm --version` != "6.4.1" ]]; 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 | ||
script: make travis | ||
after_success: | ||
- nvm version | ||
- if [[ ! -z "$DOCKER_USER" ]]; then docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} && git checkout -- . && git clean -fd . && make docker_release; fi | ||
after_script: make report | ||
services: | ||
- mongodb | ||
- docker | ||
matrix: | ||
fast_finish: true | ||
services: | ||
- mongodb | ||
- docker | ||
script: make travis | ||
after_success: | ||
- nvm version | ||
- if [[ ! -z "$DOCKER_USER" ]]; then docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} && git checkout -- . && git clean -fd . && make docker_release; fi | ||
after_script: make report | ||
allow_failures: | ||
node_js: "node" | ||
include: | ||
- node_js: "8" | ||
<<: *node_js-steps | ||
- node_js: "10" | ||
<<: *node_js-steps | ||
- node_js: "node" # Latest Node is not supported, and recommend, but we'll test it to know incompatibility issues | ||
<<: *node_js-steps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.