-
Notifications
You must be signed in to change notification settings - Fork 284
/
.travis.yml
60 lines (50 loc) · 1.45 KB
/
.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
52
53
54
55
56
57
58
59
60
---
language: node_js
node_js: 18
env:
global:
- PATH=/snap/bin:$PATH
- JOBS=1
# See https://git.io/vdao3 for details.
os: linux
dist: focal
addons:
- chrome: stable
cache:
npm: false
before_install:
- git config --global url."https://[email protected]/".insteadOf ssh://[email protected]
- npm install -g greenkeeper-lockfile@1
- gem install bundler:2.3.7
install:
- npm ci
before_script:
- export RANDOMISE=--random
- echo $RANDOMISE
- greenkeeper-lockfile-update
script:
- ember -v
- if [ -z "$TRY_CONFIG" ]; then npm run lint:js; fi
- if [ -z "$TRY_CONFIG" ]; then ember exam --reporter dot $RANDOMISE; fi
- if [[ ! -z "$TRY_CONFIG" ]]; then ember try:one $TRY_CONFIG --skip-cleanup; fi
after_script:
- greenkeeper-lockfile-upload
- "test $TRAVIS_PULL_REQUEST && test $TRAVIS_PULL_REQUEST != 'false' && $TRAVIS_SECURE_ENV_VARS == 'true' && ./config/deployment/deploy-pull-request.sh"
jobs:
include:
- if: type = cron
env: TRY_CONFIG=ember-beta
- if: type = cron
env: TRY_CONFIG=ember-data-beta
- node_js: 18
- stage: ":ship: it to quay.io"
dist: focal
before_install: skip
install: skip
before_script: skip
script: make ship
if: (branch = enterprise-3.0 and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
after_script: skip
allow_failures:
- env: TRY_CONFIG=ember-beta
- env: TRY_CONFIG=ember-data-beta