Change build priority order in Travis

This commit is contained in:
Pavel Djundik 2019-02-12 12:51:59 +02:00
parent 804c9ad11a
commit 4084ff2e93

View File

@ -1,27 +1,33 @@
language: node_js language: node_js
# https://github.com/nodejs/Release # https://github.com/nodejs/Release
# Specify current LTS version here, which is used for publishing to npm
node_js: node_js:
- 11 # EOL: June 2019
- 10 # EOL: April 2021 - 10 # EOL: April 2021
- 8.10.0 # EOL: December 2019 (test exact LTS version)
os: os:
- linux - linux
# https://github.com/nodejs/Release
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- node_js: 10 - name: "Windows build"
os: windows os: windows
cache: false # windows cache uploads are slow
env: YARN_GPG=no # starts gpg-agent that never exits env: YARN_GPG=no # starts gpg-agent that never exits
- node_js: 10
- name: "macOS build"
os: osx os: osx
# Version used to deploy to npm registry
- name: "Production build" - name: "Production build"
node_js: 10 # Version used to deploy to npm registry
os: linux
env: BUILD_ENV=production env: BUILD_ENV=production
# Next node version and minimum supported node version
- node_js: 11 # EOL: June 2019
- node_js: 8.10.0 # EOL: December 2019 (test exact LTS version)
cache: yarn cache: yarn
before_script: before_script: