forked from JustArchiNET/ASF-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (28 loc) · 1.03 KB
/
.travis.yml
File metadata and controls
34 lines (28 loc) · 1.03 KB
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
# ASF-ui is a node.js project
language: node_js
# We can save bandwidth by limiting git clone to only last 10 commits
git:
depth: 10
# Use latest images for building: https://blog.travis-ci.com/2017-12-01-new-update-schedule-for-linux-build-images
group: travis_latest
# We target latest lts version of node.js
node_js: lts/*
script:
- |
set -eu
npm run-script build:ci
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-ui 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/xenial
- os: linux
dist: xenial
# Ref: https://docs.travis-ci.com/user/reference/osx
- os: osx
osx_image: xcode10.1
# Ref: https://docs.travis-ci.com/user/reference/windows
- os: windows