-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
40 lines (36 loc) · 2.27 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
dist: xenial
language: groovy
jdk:
- openjdk8
sudo: false
branches:
only:
- master
- dev
- grails3
- /^feature\/.*$/
- /hotfix/.*$/
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- export TZ=Australia/Canberra
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
before_script:
- cd $TRAVIS_BUILD_DIR
- npm install
script:
- node_modules/karma/bin/karma start karma.conf.js --single-run --browsers ChromeHeadless
- ./gradlew test
after_success:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && travis_retry ./gradlew publish'
env:
global:
- TRAVIS_NODE_VERSION="16.16.0"
- secure: pUfSJ7e11vDOMLvU6aLmDKIzfHZyT7Z7rhtl+xCKRafVHAMkG12/qLKDyjUWDSYKqxAApnOsqEK/M8UEsmuemtBoAssIgoCDq6uU3KBH0rCDG9XdpzF5Hie3qQCIRIr73LOjaJ4PzpMReAULPRn8Hx+zktxBwTbgfBAifxM+e5txdJKhVmI9/A1r9NZpiFHhB/yOMCfzA3lm633uyqWg+m0wc2J9EMGgW/XKCRGwiQJRk+LBNLNSCCh/fqbko2KIuaIzaX/pK1CATREHgKAh2qiW79yQ1C5yIfrmRf+uDu8j9aL4HFzIxWU3mP91KUp6ikFkzgGkWvWvw89EV0nQmVVuP52EK5bpu77bAiGZdviccd+YToHNerrArBnn/jfOMBxAF8Vd7Zjtb4TVEmT5dQ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