---
language: node_js

node_js:
  - "10"

services:
  - docker

sudo: false

# For testing environment
addons:
  chrome: stable

branches:
  only:
  - master
  - /^greenkeeper/.*$/
  - dev-1

# Version Matrix
# Testing needs to pass: test-release
# Deployment needs to pass: build-release
env:
  - EMBER_TRY_SCENARIO=test-release
  - EMBER_TRY_SCENARIO=build-release

jobs:
  fast_finish: true
  #allow_failures:
  #  - env: EMBER_TRY_SCENARIO=ember-3.8.0-beta.1
  include:
    - stage: test
      script: ember try:one $EMBER_TRY_SCENARIO
    - stage: deploy
      if: (branch = dev-1) OR (branch = master)
      skip_cleanup: true
      env:
        - EMBER_TRY_SCENARIO=build-release
      script: chmod +x .travis/docker_push.sh && .travis/docker_push.sh

install:
  - npm install --no-package-lock
---
language: node_js

node_js:
  - "10"

services:
  - docker

sudo: false

# For testing environment
addons:
  chrome: stable

branches:
  only:
  - master
  - /^greenkeeper/.*$/
  - dev-1

# Version Matrix
# Testing needs to pass: test-release
# Deployment needs to pass: build-release
jobs:
  fast_finish: true
  #allow_failures:
  #  - env: EMBER_TRY_SCENARIO=ember-3.8.0-beta.1
  include:
    - stage: test
      env:
        - EMBER_TRY_SCENARIO=test-release
      script: ember try:one $EMBER_TRY_SCENARIO
    - stage: deploy
      if: (branch = dev-1) OR (branch = master)
      skip_cleanup: true
      env:
        - EMBER_TRY_SCENARIO=build-release
      script: chmod +x .travis/docker_push.sh && .travis/docker_push.sh

install:
  - npm install --no-package-lock
Simplify the config in TravisCI
Simplify the config in TravisCI
