-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (64 loc) · 2.41 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
61
62
63
64
65
66
67
68
69
70
71
72
language: node_js
jobs:
fail_fast: true
include:
- stage: 'Linting'
node_js: stable
env: TEST_SUITE=LINT
- stage: 'Old node versions'
node_js: '0.10'
env: TEST_SUITE=SHELL
- node_js: '0.10'
env: TEST_SUITE=ACCEPTANCE
- stage: 'Slightly less old node versions'
node_js: '4'
env: TEST_SUITE=SHELL
- node_js: '4'
env: TEST_SUITE=ACCEPTANCE
- node_js: '6'
env: TEST_SUITE=SHELL
- node_js: '6'
env: TEST_SUITE=ACCEPTANCE
- stage: 'LTS node versions'
node_js: '8'
env: TEST_SUITE=SHELL
- node_js: '8'
env: TEST_SUITE=UNIT
- node_js: '8'
env: TEST_SUITE=ACCEPTANCE
- node_js: '10'
env: TEST_SUITE=SHELL
- node_js: '10'
env: TEST_SUITE=UNIT
- node_js: '10'
env: TEST_SUITE=ACCEPTANCE
- stage: 'Modern node versions'
node_js: stable
env: DEPLOY_ON_SUCCESS=true TEST_SUITE=ACCEPTANCE
- node_js: stable
env: TEST_SUITE=SHELL
- node_js: stable
env: TEST_SUITE=UNIT
install:
- 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
- nvm use --delete-prefix $TRAVIS_NODE_VERSION
- './scripts-ci/posix-install.sh'
after_install:
- npm install -g mocha-typescript
script: './scripts-ci/posix-script.sh'
after_success:
- npm run prepare-release
deploy:
skip_cleanup: true
provider: s3
access_key_id: AKIAJWIEOB2WJZOHIKVQ
secret_access_key:
secure: cSeGo4mCiILoXEevYeV5zwJq6kgec9HN+UJom0gY9N4Gdfi5JlG33CJUqWxzf32uFFtiv75LMNQQxPEs74vdpu1QbtA1ZXbJpZ4hc4nHXdhEdFxuTaptP9aevPuZvkpRiMAPQTWkzhfKQDWEGN2kyn19LcuHocwegIdbXG7+IDFw/jEUBpHvn7YIRDuNocVVvDvurQ4H1j2js/PWpTk8xfOGMYYlgsprra8bTZ0m/Ifg7/iiMMEecTahXdPWKLM9f96cxN1qHvD2gZO1XyWs6rhCJZ7k3wJfcFWepdNenQOoG46LxzfjAm8phybSGk/SVdxqWZJp98UgKZX3eXxOKo0pevJ9W4kZ6hVwdLXO+e5dkXL0mU8yIpCfpnTm6C01IN1P0E0X+5JGBWdRuegkX7E5oIKP4PpWTMPboFyZkBOBpknNviwxHqfOp6Dv2UJ9bvqbmprmheU0tPdoYWSf3Is+SXdir3Y8l9OkUCuDapoRd+BVCZDG4Bv3jxzVthnW0zJp93sXqg+cw05ZIogLwdVA5V4DEgeFOUFUsGC31vvo1s6Rqyc35alCI0pc4QAdb/O5w4nIL54DwiBMza64cYerg6POltHBPIT0v3iYQd9UpnKLQv2wH4L2NhsawGAeaio9VHTFpNKhwgS5+eGjAhG1gE37ZxvEwkhhoW+OoVQ=
bucket: mikeworks-libs
local-dir: ./dist
upload-dir: techcheck
acl: public_read
on:
branch: master
condition: $DEPLOY_ON_SUCCESS = true
repo: mike-works/techcheck