forked from aaronmars/martian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 4.35 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
language: node_js
node_js: "8"
notifications:
slack:
rooms:
# engineering-webdevs
- secure: "ESAmi/DF/Fat+9++jGU22KqnM/bkCn1NWRvybbiqrbA1gbaTWGzC60SjrP6Gps1mpMKyGoss/9gAEXjRdz65X37s48hOEbbZ30X8V1aAoIaPE6ChcIn8voUtdoe3YnhFS9rhccJxEEobMwRUtOnInTJocSiK0ffqlRsupJR+fuVJgFscS4h3JdfcOqYKm6cQpcpqh1hkk7cDctrBqhjjsYNOw4VJpp2ndQzFhy07VTxF1vGLT6MddV3tST6LsRpWT3ol0ratcg5v2Z8AnhW3DnWliw12iw21gx0/75+G2uTtMgFsv0orBa56hVX0yT62F1Sr6d597QadIURtRPWLLHQBuvX1gvDHKXKyWEGMxHCk8v6ExL2q0M4p7Zy3G+qHm2kCyDJoryXXmBUPDDRddpft6U467uUy9tY3HJxFLG4zNqUov+4aG465czfOhuw31euEgZe5fPSCaAUCHQknmCGydo21MldcF2DND6VKj5FaaBVKPaMKuiDOTn3du27loKQpdkQsZs5yoXfmXLKTIn5W/CueNoJTwyMzXuNSAZ/pJnjwyKiLpTaynL/Ua7QhuoTQDAXkh5JE14Zh1BhDAvP/1BuWflGubr5SRhZAT21uwPD/L5bCC9ukpXybQxy6b3dvv6Uhd00LhVjhbmBSfD1MG/eK3G4ru20ZCUfjRn0="
cache: yarn
# Since we have yarn.lock, package.json, and node >= v4, the `install` step is implied
script:
- yarn inspect
- yarn test-jsdom
- yarn test-node
- yarn bundle-global
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
# release
- provider: s3
skip_cleanup: true
access_key_id:
secure: "igyh+9JKjZfm/2rFwRo6a5HV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/YrJCQOVhtMxaxMyATvUuju4UJ6DLwfcewtyz0atLw7w1JqolB+zSpZ/xt+3vMn9k8KDJ8+yAfqL+0AHbWmFBeFfxSDWsks2JHE1XGd4XEvdR8M4inBlOeIANRib71JBepuiRVWIBZNohAjLsBvc3z0PVCIrlBIC1xDadp9TwsydXxFfjGhtpYQqoN6P5jqpy9d1QRtJ5iuvFFAQsKBju6ZaWC0cf2dH20A9b9nHn2Ie/13vlx/7DTZnSCJl+3qxU5B3jt4GpjSxl+QIQ4xkJf+7+g8="
bucket: mindtouch-cloudfront-ajax
local_dir: build
upload_dir: "martian/${TRAVIS_TAG}"
cache_control: "max-age=29030400, public"
on:
tags: true
repo: MindTouch/martian
# development branch
- provider: s3
skip_cleanup: true
access_key_id:
secure: "igyh+9JKjZfm/2rFwRo6a5HV3sw11E0FNtZDT9XxALuaNTxq7KaWJoNZDpqbrZO/LEV+Ff9+YlPqnroD8foKu9iOO63XYxqqQTtWu3Fvxi2CTX2DcSokeG6MHXJcp08UrBnFt9qy0LDcRfmSKve/o4hw/g/QDH1Sr5ITuBpa90wUPEJ9hRagNsHKzTUWIOvOGYB3LHK5Dd7V0IO6DxNzoJ/arIF2YSQxZPby7+wJZIsN2lOLSz2w62RDW/IGUz19x6tYZMgF2vHXgSPbFX9VvFqDsYrpWSCWM4MPIumEzDSi+KYdJs+FQXahA7BghYyBQFJc17k8lu5S0p6Tvqo8cvCjv1XYlPifBZtUUVInTZ3pTQ3WjqfIEij5oJv1fqIRbrpB6hFEY7Z+OjjhSHiF7XLKC0DOzNvjj+g8uf9ifNUBTeXCBOpihlAvU/BCQW0I9sHAW8kBB10In7GRAaJUgTsF7I+ET7UEezHebidnch1wna6/n7kTbr9w8UOOMjNDG1qGhLMVYbZbbBUUiC+3GI2r+AJq38NP+Bw3U/IF/0sBPZVk5NMUtu7i7tcXYfjJgDAHco6bRrtx7hNgMfZoVx19AyViZDMhaFacqe2ImBZPVpu73BtedVihWOj7Qsp7E3FBmA6zQTNf5PlOrwE3zWyEXwirChiSIVQNq0Jpkkg="
secret_access_key:
secure: "KExzHrfsqUqvTT38qe3JHk6psK95Xh93isep3mC/eQw7n9T6iREx02gojz4Dat983lAsi/cFKsiKOl6vHqyYPJveWvwuYCqlczIXBRtGd//bwaEkm8L7HfgDf9ph9bDHcuRXTRpigh2hKCPdraTStxGAZ9DPNSmsXW8bQU0oE0PK/oKrWVHhJjxE3DSrh8I4SckuZrEQMspcNqrFVD0VyDD5Jnf+xAJAA23AItY1q0gzTX/tBJ0U0V/PPCtnNEZve2h/8BBjiud/yFtYQcoCAgleks7HE5G1mm+u8I+iXEFLFIYMx3K2GCqS/Xr+ZZ+NpnkylcZVXd//lSc8/CdnPjJUYWUFE2Hsw+7cteOQDNy3O3hHmg44EASGnmAXRCF9fOrEPFyKn7xYVbDw/YrJCQOVhtMxaxMyATvUuju4UJ6DLwfcewtyz0atLw7w1JqolB+zSpZ/xt+3vMn9k8KDJ8+yAfqL+0AHbWmFBeFfxSDWsks2JHE1XGd4XEvdR8M4inBlOeIANRib71JBepuiRVWIBZNohAjLsBvc3z0PVCIrlBIC1xDadp9TwsydXxFfjGhtpYQqoN6P5jqpy9d1QRtJ5iuvFFAQsKBju6ZaWC0cf2dH20A9b9nHn2Ie/13vlx/7DTZnSCJl+3qxU5B3jt4GpjSxl+QIQ4xkJf+7+g8="
bucket: mindtouch-cloudfront-ajax
local_dir: build
upload_dir: martian/dev-master
on:
branch: master
condition: $TRAVIS_TAG == ''
repo: MindTouch/martian