mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
19 lines
375 B
YAML
19 lines
375 B
YAML
language: c
|
|
script:
|
|
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sh ./scripts/check.sh; fi'
|
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh ./scripts/badge.sh; fi'
|
|
branches:
|
|
only:
|
|
- master
|
|
except:
|
|
- gh-pages
|
|
git:
|
|
submodules: false
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
github_token: $GITHUB_TOKEN
|
|
local_dir: build
|
|
on:
|
|
branch: master
|