Removed matrix and setup platform for jobs

This commit is contained in:
Kylart 2019-06-14 14:05:03 +02:00
parent 82d17eadb6
commit f39ea112e5
1 changed files with 23 additions and 22 deletions

View File

@ -1,25 +1,5 @@
matrix: language: node_js
include: node_js: "12"
- os: osx
osx_image: xcode10.2
language: node_js
node_js: "12"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
- os: linux
language: node_js
node_js: "12"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
env: CC=gcc-5 CXX=g++-5
cache: cache:
directories: directories:
@ -33,9 +13,30 @@ install:
jobs: jobs:
include: include:
- -
os: osx
osx_image: xcode10.2
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
name: Lint name: Lint
script: script:
- npm run lint - npm run lint
-
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
env: CC=gcc-5 CXX=g++-5
name: Lint
script:
- npm run lint
- -
name: Deploy name: Deploy
if: branch = master if: branch = master