forked from d3fc/d3fc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.46 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
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '10'
script:
- npm run commitlint
- npm run lint
- npm run bundle
- npm run bundle-min
- npm test
before_install:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
after_success:
- >-
test $TRAVIS_PULL_REQUEST == "false" &&
test $(git rev-parse master) == $TRAVIS_COMMIT &&
git checkout master &&
git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/* &&
git fetch --tags --quiet &&
git remote set-url origin "https://${GH_TOKEN}@${GH_REF}" &&
npm run publish &&
bash ./scripts/site.sh
branches:
except:
- /^v\d+\.\d+\.\d+$/
env:
global:
- GH_REF: github.com/d3fc/d3fc.git
- secure: >-
p1Bxj05m+1U/UnoRRixnQ6ohQzAyuSHmuM/HLD7nE7thlcf2AfoPjj50E3Kwhue227pW/PLn5wp+9n5xHu5C5qL/0Rd+fIyO+acD2C8MaOJGR3bnIT9LdsQW2+utzq0Pe/WU+lJ+XfBC2PGB7xG3G1gopR6n8511wvHsGnNhenvdE7st3YgOmcZ8rMuoFGQnYAxkHkSUkUglQrlQUdu2kjj4rPxtF08Axh4Wzn0atupaPDRm4AotocsafsFKQSBjEnztA4UHjhoUtblvkw43i4xAKSUldf670JODkPBgqh08RUW58pyKDu+ru10J/6Yi25bRYEBu3Xm5qs24KihSkIzoWlRse9aAxiOYbDHDtIV+Qlfdw6/7F6BJRNmv5Pg53APcJxzsh9fADkr0qUhI1NX8Hhf+Hc8UCpWXZhgvK+yA4OXRluCHYQhyf3LNBbipbMOjKWTFtf5uulQOoa59+ZXnId2cLoczYCJ0kSPhiCkGakpzsUMmy14euQX3hpsDoaV9vvZIQpOoRnk6sxRY6ATp1w9uF63OQOtQ1gy0agFjEBH2xxq+SjMWrGipnSpkCE8IJi9W/e3H5cAOmLNrt2eV+ac66pQzjwgCIH2Cu01NFx3C2XUhwbqkmKCq8BoFoouIUHlbB/LxFwimyvNdMohbVrpIGQ2kwEv4E7+VQDM=