Configure .travis.yml for mkdocs
This commit is contained in:
parent
4f9a9e651e
commit
1fddc41868
15
.travis.yml
15
.travis.yml
|
@ -11,6 +11,7 @@ env:
|
||||||
- LIBRETIME_LOG_DIR=/tmp/log/libretime
|
- LIBRETIME_LOG_DIR=/tmp/log/libretime
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer install
|
||||||
|
- pip install --user mkdocs
|
||||||
before_script:
|
before_script:
|
||||||
- psql -c 'CREATE DATABASE libretime;' -U postgres
|
- psql -c 'CREATE DATABASE libretime;' -U postgres
|
||||||
- psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" -U postgres
|
- psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" -U postgres
|
||||||
|
@ -18,4 +19,16 @@ before_script:
|
||||||
- psql -c 'ALTER USER libretime CREATEDB;' -U postgres
|
- psql -c 'ALTER USER libretime CREATEDB;' -U postgres
|
||||||
- mkdir -p /tmp/log/libretime
|
- mkdir -p /tmp/log/libretime
|
||||||
script:
|
script:
|
||||||
- cd airtime_mvc/tests && ../../vendor/bin/phpunit
|
- pushd airtime_mvc/tests && ../../vendor/bin/phpunit && popd
|
||||||
|
- mkdocs build --clean -q > /dev/null
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip_cleanup: true
|
||||||
|
local_dir: build/docs
|
||||||
|
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
|
||||||
|
target_branch: master
|
||||||
|
project_name: LibreTime/LibreTime.github.io
|
||||||
|
fqdn: libretime.org
|
||||||
|
name: R. LibreTime DocBot
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
|
Loading…
Reference in New Issue