Blame view

node_modules/vue-baidu-map/.travis.yml 584 Bytes
290144e9   易尊强   第一次
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:		
    - "6.7.0"
  addons:
    apt:
      packages:
        - xvfb
  install:
    - export DISPLAY=':99.0'
    - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
    - npm install
  branches:
    only: master
  script:
    - npm run lint
    # - npm test
    - npm run build:docs
  after_script:
    - cp ./docs/favicon.png ./dist/
    - cd dist
    - git init
    - git config user.name "Dafrok"
    - git config user.email "o.o@mug.dog"
    - git add .
    - git commit -m "Travis build docs"
    - git push  --force --quiet "https://${GITHUB_TOKEN}@github.com/Dafrok/vue-baidu-map.git" master:gh-pages