-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (43 loc) · 1.48 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
language: node_js
node_js: stable
# Travis-CI Caching
cache:
directories:
# - libs
# - tool/gulp/node_modules
# S: Build Lifecycle
before_install:
- npm install -g bower
- bower i
- ls
- cd tool
- npm install -g gulp
- ls
- git clone https://github.com/LinJieLinLin/myGulp.git gulp
- cd src
- npm i
- cd ../
- cd gulp
- git pull
install:
- npm install
script:
- gulp b
- gulp build:doc
after_script:
- cd dist
- cp -rf ../../../libs/ .
- git init
- git config user.name "LinJieLinLin"
- git config user.email "993353454@qq.com"
- git add .
- git commit -m "Update directive"
- git push --force --quiet "https://${GH_TOKEN}@${GH_URL}" master:gh-pages
# E: Build LifeCycle
branches:
only:
- master
env:
global:
- GH_URL: "github.com/NG-D/directives.git"
- secure: "sxoBD3YVje59Tubvv2qHa0ZFs0pICeiq3dncct8XqcRS4E9iRZC0CKfC2uG59AmcuEjGbwgIekw7GaFkJGLFjlhggBU3EIqS/iGRlE7Z2cB6udlx4CE7vNtxMaAtJ0pXgkTH4wqD2QIClXHLdOLVLKhcI/sVzfMBLB/zg1lLsNbhqU2gKNHux3BgLSVAgqdUpnYmhJO4WSobgZprswrc1eyVZVAbakzDoHGPlTMntzmkLwMrLP8c35YU2Pea5E2ohVYorLgDmYRfNjJopyuV0WYuacXURCkK9EX29gOZg4Ih1qIXPBqDIIQjTO7ypQFra6g0q4MGFA1Tbc04hdcBwFcJPCUqPKF+ERbCxponsGvO6MpGCoUBkxIWxKf/QRpfSNh3SWavGRAzWfXqsscCeN9g0+ODp7V6wfDoz1gGeBgzMyM0JUL58tH7I0lBp1ryk7UjU2z7NTfoe+5PzF+TQVwQtMOiFNcwVmtXMLc2JDJee7pGz2Aw+VgsT+wsXL3Fg/jerW+z+r/dk2LsVL6qqP51wuaGyncOeOy/cwWwOgipZgWyunweeGJdpXFeBumlp8SgUSzbWIuKn8r2QqBIC4z+7gPHTFPNC7Ted+nU9lQW2Kbwt8zJsfxNNtXc1uDgQUUYySwGWIyQ43RF9+MAN/eOgnyGMj0Hqv/weyEAtgc="