parent
93d054591b
commit
cf58e5c4ca
25
.travis.yml
25
.travis.yml
|
|
@ -1,25 +0,0 @@
|
|||
language: python
|
||||
python:
|
||||
- '3.6'
|
||||
before_install:
|
||||
- eval "$(gimme stable)"
|
||||
install:
|
||||
- go get github.com/github/hub && hub --version
|
||||
- pip install -r requirements.txt -r dev-requirements.txt
|
||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||
- chmod +x ./cc-test-reporter
|
||||
cache:
|
||||
- pip
|
||||
before_script:
|
||||
- git config credential.helper "store --file=.git/credentials"
|
||||
- echo "https://${GITHUB_TOKEN}:@github.com" > .git/credentials
|
||||
- git checkout master
|
||||
- ./cc-test-reporter before-build
|
||||
script:
|
||||
- coverage run -m pytest && coverage run -a ./update.py --release
|
||||
after_script:
|
||||
- coverage xml && coverage report
|
||||
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
|
@ -1,6 +1,11 @@
|
|||
# holiday-cn
|
||||
|
||||
[](https://travis-ci.com/NateScarlet/holiday-cn) [](https://github.com/NateScarlet/holiday-cn/releases/latest) [](http://calver.org) [](https://codeclimate.com/github/NateScarlet/holiday-cn/maintainability) [](https://codeclimate.com/github/NateScarlet/holiday-cn/test_coverage) 
|
||||
[](https://github.com/NateScarlet/holiday-cn/actions)
|
||||
[](https://github.com/NateScarlet/holiday-cn/releases/latest)
|
||||
[](http://calver.org)
|
||||
[](https://codeclimate.com/github/NateScarlet/holiday-cn/maintainability)
|
||||
[](https://codeclimate.com/github/NateScarlet/holiday-cn/test_coverage)
|
||||

|
||||
|
||||
中国法定节假日数据 自动每日抓取国务院公告
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user