-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (42 loc) · 1020 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
50
51
---
language: node_js
node_js:
# we recommend testing addons with the same minimum supported node version as Ember CLI
# so that your addon works for all apps
- '8'
sudo: false
dist: trusty
addons:
chrome: stable
cache: yarn
env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1
branches:
only:
- master
# npm version tags
- /^v\d+\.\d+\.\d+/
jobs:
fail_fast: true
include:
# runs linting and tests with current locked deps
- stage: "Tests"
name: "Tests"
script:
- yarn lint:hbs
- yarn lint:js
- yarn test
- yarn test:node
# run additional tests against LTS versions of Ember CLI,
# latest stable release and current beta
- stage: "Additional Tests"
env: EMBER_CLI_VERSION=~3.4.0
- env: EMBER_CLI_VERSION=~3.8.0
- env: EMBER_CLI_VERSION=~3.12.0
- env: EMBER_CLI_VERSION=latest
- env: EMBER_CLI_VERSION=beta
script:
- yarn add -D ember-cli@${EMBER_CLI_VERSION}
- yarn test:node