mirror of https://github.com/Kylart/KawAnime.git
Removed matrix and setup platform for jobs
This commit is contained in:
parent
82d17eadb6
commit
f39ea112e5
41
.travis.yml
41
.travis.yml
|
@ -1,25 +1,5 @@
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode10.2
|
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: "12"
|
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
|
||||||
|
|
Loading…
Reference in New Issue