forked from michalzaq12/electron-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 942 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
language: node_js
node_js:
- '12'
services:
- xvfb
cache:
directories:
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
os:
- linux
- osx
env:
matrix:
- TEST_SUITE=typescript
- TEST_SUITE=css_frameworks
- TEST_SUITE=loaders
- TEST_SUITE=eslint
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# Explicitly include to get some OS-specific badges
matrix:
fast_finish: true
include:
- name: "Linux - default template"
os: linux
env: TEST_SUITE=default BADGE=linux
- name: "OSX - default template"
os: osx
osx_image: xcode9.4
env: TEST_SUITE=default BADGE=osx
- name: "Windows - default template"
os: windows
env: TEST_SUITE=default BADGE=windows
allow_failures:
- os: windows
install:
- npm install -g vue-cli
- npm install -g yarn
script: bash ./tests/init.sh