forked from iyegoroff/un-flatten-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (57 loc) · 2.9 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
language: node_js
env:
global:
-
- secure: >
VAHRZ67lOsI4BU8vHAlmUWTTi0gU7dcjOHKUMFJzSYLdgQjd62giEcI/CjZ+W9+YY2A3ZGWMUHQU31X3m/2KvI3/YRfQRU8EvLsjq3OkVhBOc
MyMM/J4cR5dJQ+kyKOhBNqIo+XFRFBgj6aC3mrafomgqvl2O8Rs5mL6hoqiJTR0faeQv5RsBHwzMEZcteLeHJRTmoXnZKz9d7+rTurn7JC3tP
C5QX2h47hwO6+NKjdR7i8XEhD/5fWPvuBhPzdyYE8NHwFes6GrTb8/kgNLn1KSuDBw9zOBQqi4DSEMREFD9oS02+2UTE2zgqP00kzN3U4QpAS
eja0qtsjKdGQwQvN9ilFs4Lod9JDFFolYH34pEg++XIA7Tl1Dq8lTkhIRpGZM7EaBu3P1T/XtNSlQF29bSRvc6eTJUbo9kVUdK4LJ99KD8uZD
LKUk2rULjCssU7XSz8YzxU+4Fi9rSRQDcVgsRY1yKwVCpXckhC6tnDuY8o+1RbphnAVUQ8aaWnsVron2MRpxq/Oda/8ZrUKkK8f2guRw1JJ2z
m2BDi6RhsAahNrQSrPExeNzAq/QLqz7lHP2fa5URQVyugqN3UTwMQIA2wu5kuex4QsMfEwONjKF8GUrQWv7Db8OeIBnn5MrtuIzeRJzp12IoQ
2yvcSF/VrWhZ3t76xJa5SYziH7prY=
- secure: >
h4dguk7DV/0/yDWq29wbJFATcVCzeePYCY3QjneCSl4OGvb309/PRJnzljVmTtXfsd6wFwxJAHzTL44LiMoZfESxye9KwMIQ3swdNkmOj3OQO
KzrVe1pIKxB76O8JKrPStW99ybltiKR8N3zMKoM0N6I06OKyHYzLv+HqKd8qTOBy4nUQUakhD1N7/YgmFfMKC3QCVkdcIfBYaeb0QxlXd/9xc
6NJ9n8aAq5jXt0+46vSqZznrByWFrUGLGIWICM/YOQybL9m3o/cLDWgCUkg+2662xgUxfOqb9Js4iqw+KBCWUInGhBcGgVzSDvLN6by7wi0/Y
44qq+Cxtul6ZpTJvL9IBpxDly+qcCGw/YDqpKt5DUySVSu2FW52eJtoqhORpyT1+Y3YHSzlWEe/w3zLB841nxvAEJB7goRLQ1KwIeBgjCgxIK
wTH3Nyv1DD/ZeaO0zOkzTUxoSCYQ18Z57iEuFqJdPpck+whGSN2Fs3Fo77RaYzcCFwiv5xPP4PAs0cVC7sfGzMR9YHpxnA0Tu45Szxqi8znMd
t+1BJsKSiow5V9BNN/aTqZe3SvKCNR2J0YcrT94UOV9sRRYod3TR5X8wYCnDLD+CS7oX4qp7HEwdFNr6cjsTAW6d0xURajwraFoHZ/eemq0kB
EOeLyGpegxkLvnvyiMc+hqgMJTFTs=
matrix:
fast_finish: true
include:
- env: TEST='node'
node_js:
- '7'
- '4'
- env: TEST='browser'
node_js: '4'
allow_failures:
- env: TEST='browser'
branches:
only:
- master
- /^v\d+\.\d+\.\d+$/
deploy:
provider: npm
email: iegoroff@gmail.com
api_key:
secure: >
rgVtzou3HLvS3hkwL0e8ji8bYqesshnNkvslOKVxp61VUB2RKGni3SWKXbPRRxO9Cy+CelvNjkzzekQSHftI8dChuim4sj3Cobf/0bcDtvMUgYLF1
EJS0UJ2cVrhTsdkerJO7/Ai5gK1Mh5TsfYaWI6+OfA4MOrHeBVeNcSKKqkEWJQ627tMa3BTZ9/kn2YCROR7siJFsprkhNo0ZkF9u6wOLAKzPDWNhG
lAvqp7x+erWuOquhKvA1rCj1joyT8vLVN02u2zZbzfNrIsIveghBhvEAw7hVU1Urp3rJ2xVjRGA0co0uLH6tVfBlTiXmI/jDzqMrDpq6EnDuig1ML
NIDZ6hXozOLnYSryvau5ZqeQky94X0TylextK9kIH+4Y4zpgocp+6x+iUG6mfalbHnqRPJGxIBzFQwEUBU96L9PPBOcfBv5yQ6VolHrU0Xtwch5EP
nrn+Xwyi4VAMYFUjNhqi6ORcS/J/i+Ka+8DT/kr0IkqhdwW6AsrA80EmAdddYMQj/798uyar23VU4jAp0Kcuxf+xaaPHbrwVtVW3k77XfM8Ex3boM
cm4xZF0wlOojUNejB9aF99CgSQLFXp9iNik3A6wnC09BBNIJ2VKWruhhHzvKqUhSDNp801cB9SU+RBAXBGavpQajZMSU6P9M2hpIJWQiL0TNSggF6
DN2sY=
on:
tags: true
condition: $TEST == 'node'
before_script:
- npm run build
script:
- if [[ $TEST == 'node' ]]; then npm run lint && npm run test:node; fi
- if [[ $TEST == 'browser' ]]; then npm run test:browser; fi
after_script:
- if [[ $TEST == 'node' ]]; then npm run coverage; fi