forked from JustArchiNET/ASF-WebConfigGenerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (26 loc) · 962 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
# ASF-WebConfigGenerator is a node.js project
language: node_js
# We can save bandwidth by limiting git clone to only last 10 commits
git:
depth: 10
# We target latest lts version of node.js
node_js: lts/*
script:
- |
set -eu
npm run-script build --no-progress
set +u # This is needed to continue Travis build
matrix:
# We can use fast finish, as we don't need to wait for allow_failures builds to mark build as success
fast_finish: true
include:
# We're building ASF-WebConfigGenerator with node.js on latest versions of all available OSes
# We need to declare latest image ourselves until https://github.com/travis-ci/travis-ci/issues/8922 is dealt with
# Ref: https://docs.travis-ci.com/user/reference/linux
- os: linux
dist: bionic
# Ref: https://docs.travis-ci.com/user/reference/osx
- os: osx
osx_image: xcode11.4
# Ref: https://docs.travis-ci.com/user/reference/windows
- os: windows