-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy path.travis.yml
52 lines (42 loc) · 1.48 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
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- "4"
before_install:
- |
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
npm i -g npm@^2.0.0
before_script:
- |
gem update --system
gem --version
npm prune
script:
- npm test
- ./scripts/travis_generate_snapshot.sh
before_deploy:
- gem install mime-types -v 2.6.2
branches:
except:
- snapshots
- /.*-snapshots$/
- gh-pages
deploy:
provider: s3
access_key_id: ${AWS_ACCESS_KEY}
secret_access_key:
secure: Uzrli6N6+71NE73UJGwfOm37hegDkQ0LOD3gf3Cw53RTIxK2NmTajjKdtue/6n+JJaeNIrRjBeljPq7BIJnllIrJ48hZesmSe/YgCxPJgZlPzgQbkAR6I7VqGOZw5Pkn0MttEZmMBoMp4bdbe2JvJEjwolIu2YUjb4uRBstYu9eyNI9O5wNrvxlfnmm/MQv+ri1biujwsr1hzI+VfpK+3Gng+8XxCsmKBQAS/9xWq1/aT6rMJqnPNH/k0rAWwrZ0YjYcrYY/5qTsBulyISXQucKYOCqbEwElSCyyj3orDr4uctu6lBCwT22HV7OZGnBjNHQ44w3VaGBfWNNHkspc4YuGstZmQnyJpAowP1DFnh+KpusSiVf1HKaIIJvCprGLyNT4vvU6Eed91gJPLHCgo1mKSpNbaJVWqgf9f4VrBWkECi50CNXglJkhHWd0AN1y0INeckz6pdB5qA7BRXsUc/kMOfodXC+/Bk0zJ1WNnK+Cr+Y44dR5EVdBzchepOBZUU+CSQ4TomQnY8qG9ij4QWVzbjGoHrjLnwcQ2isMpiIqBOJvif0U2l5KUhTDVDjyR1k5xqdwBhg+Im4Bjeccl9oj3icptswTxbte2XPqI8t52JN4DQy632RALUHkz5F2ykLBV3bIl62GoCnSVS59oowCDaqqJKYgaCeNuJmAnfE=
region: ${ARTIFACTS_S3_REGION}
bucket: ${ARTIFACTS_S3_BUCKET}
local-dir: ${SNYK_TEMP_S3_DIR}
upload-dir: ${ARTIFACTS_S3_UPLOAD_DIR}
skip_cleanup: true
acl: ${ARTIFACTS_S3_ACL}
on:
repo: ${TRAVIS_REPO_SLUG}
branch: ${TRAVIS_BRANCH}