Include version with target env

This commit is contained in:
Kyle Carberry 2019-04-26 10:29:12 -04:00
parent e8c8fba91d
commit d0142e2536
No known key found for this signature in database
GPG Key ID: A0409BDB6B0B3EDB
1 changed files with 2 additions and 4 deletions

View File

@ -3,18 +3,16 @@ node_js:
- 10.15.1 - 10.15.1
services: services:
- docker - docker
env:
- VSCODE_VERSION="1.33.1" MAJOR_VERSION="1" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION"
matrix: matrix:
include: include:
- os: linux - os: linux
dist: trusty dist: trusty
env: env:
- TARGET="centos" - VSCODE_VERSION="1.33.1" MAJOR_VERSION="1" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION" TARGET="centos"
- os: linux - os: linux
dist: trusty dist: trusty
env: env:
- TARGET="alpine" - VSCODE_VERSION="1.33.1" MAJOR_VERSION="1" VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER-vsc$VSCODE_VERSION" TARGET="alpine"
- os: osx - os: osx
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libxkbfile-dev