forked from njostonehouse/brightspace-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 2.55 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
language: node_js
node_js:
- "12"
sudo: false
branches:
only:
- master
- /20.*/
script:
- npm run test
- npm run build
- npm run build:lang
- |
if [ "$TRAVIS_TEST_RESULT" == "0" ]; then
npm run publish:autotag;
fi
- |
if [ "$TRAVIS_TEST_RESULT" == "0" ] && [ "$TRAVIS_SECURE_ENV_VARS" == "true" ] && [ "x$TRAVIS_TAG" != "x" ]; then
npm run publish:cdn;
fi
env:
global:
# GITHUB_TOKEN
- secure: MLxmozticV2Zdmm96znAr4ZSXWF2ztB3DU7+9hH99LsSRj8Wly190sb7gbNY3Y5aw/3NKVO1TBdt7VvPxC2zFzzqYXbR3zpEPHkPt7YAuB8Q5jFLLYfF2i2Cxrozu5FYM5qA0dpxQZ7u3miBOp8tATFOtJQuXjaTh56FGewrcfXCantdJoPCgSmuwdi1cvfBTmRD/pDb1X5P7sC7KmROdfAZEHwAVgwMf5h5xpVvKnh245qPtkM/vg4hkTqI/72nmaV7LMrG0Uio39XOMFwjOFzvOqBcbuyNXjgNVuF0pbRvSdEUMKEtvwZ8IhwV/yCKAVymSLFbZtDmbqJk7tEn9Atp/iTATTpzxFU547DcPW7YL+vakL3sCKhukxz4VzwGDosyZIc1zgrBaS6u+q4U14JkuN55UaPlnbc+AHxYr3of+ahuaGD93wMam9uzsMuFMvfXExVitZ4s9lvCK8bwz6jJ0CK5+p1zkA1U0A3vH1skAZvwv/gdUppXO7OLc4fXSV8VSDvkiBRh7vtNc0rUsS3V053M4PRokuhsviQhacda2BsticTAC/yRuTjFBj+Puun8QYuq+tghALXyIUAzWXlP/BV8s6JrrmooeyRz2REuu795kdu+NIT8E80hJHzYbbiNdGk9mZ1ER7wEaL6uUAUyAiBAoTAhFuvmKkDSBEA=
# R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xn6U3GKaU21w5do1mIjjbpjwj3uobf1MIUQgXUrrBqua9fk7nnfZCGMm5CWVwjqtPUMku1N96+t9XhCtLMYrszsvsSKSbMPDpBwhitQxXwuKpLoIUxCl93L93wrYRWIgjyP99WKDhcU1yQtmGY/Qt96hbt29t2PN+l1lFBk5psi/b8aQ7eWlK66KGD9kxerZ4K3h7fD6wrslgwfEqqVAUGChbf5dvB3A4bWdK37vyKcwl+ca/9GrRhPKd5q6EOXbiTaSWWJCK7pygEYPYVCjHKxOhZuGdFDQYqv71vdVT9D+GFbaALiDy6pDQ7TrFvuKFc+OZuzW5FOcv+qU=
on_success: never
on_failure: always