-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
26 lines (24 loc) · 943 Bytes
/
.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
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli
- npm install
- git clone --quiet https://github.com/kohkimakimoto/getcomposer.org_doc_jp.git dest/getcomposer.org_doc_jp
- pushd dest/getcomposer.org_doc_jp
- git checkout gh-pages
- popd
script:
- grunt build
after_success:
- cd dest/getcomposer.org_doc_jp
- git add -A
- git commit -m 'Update'
- '[ "$TRAVIS_BRANCH" == "master" ] && [ $GH_TOKEN ] && git push --quiet https://[email protected]/kohkimakimoto/getcomposer.org_doc_jp.git gh-pages'
env:
global:
- GIT_COMMITTER_NAME="Kohki Makimoto"
- GIT_COMMITTER_EMAIL="[email protected]"
- GIT_AUTHOR_NAME="Kohki Makimoto"
- GIT_AUTHOR_EMAIL="[email protected]"
- secure: "U8aJLlOT9rUTUL2gbRBM1NBkbTsqJnv6m2YwcyTG4S5o/5sgPdwph6Pcd5tKADlUSOi7kkd2IH1FvcF/PAhAixkrJ9wC4B+RGwO51/a4hMlg0pMOFdM30OTN8TzdZVf4PPv3XC3j0oVJeFE4k5ySZbWnkBwNBEFL9hwG7v2E+sM="