Travis Github Pages configuration
This commit is contained in:
parent
a0f15b7657
commit
b07de55a28
5
.gitignore
vendored
5
.gitignore
vendored
@ -6,3 +6,8 @@
|
|||||||
# Libraries don't need dependency lock
|
# Libraries don't need dependency lock
|
||||||
# Dependencies will be locked in application that uses them
|
# Dependencies will be locked in application that uses them
|
||||||
/shard.lock
|
/shard.lock
|
||||||
|
|
||||||
|
/docs/
|
||||||
|
/build/libsodium/
|
||||||
|
/build/libsodium-*
|
||||||
|
libsodium_install.out
|
||||||
|
25
.travis.yml
25
.travis.yml
@ -1,19 +1,25 @@
|
|||||||
sudo: true
|
|
||||||
language: crystal
|
language: crystal
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
# - osx
|
- osx
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- COX_BUILD_DEBUG=1 LIBSODIUM_BUILD_DIR=$HOME/libsodium ./build/libsodium_install.sh
|
- COX_BUILD_DEBUG=1 LIBSODIUM_BUILD_DIR=$HOME/libsodium ./build/libsodium_install.sh
|
||||||
before_script:
|
before_script:
|
||||||
- export LIBSODIUM_BUILD_DIR=$HOME/libsodium
|
- export LIBSODIUM_BUILD_DIR=$HOME/libsodium
|
||||||
after_failure:
|
after_failure:
|
||||||
- "[ -f libsodium_install.out ] && cat libsodium_install.out"
|
- "[ -f libsodium_install.out ] && cat libsodium_install.out"
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/libsodium"
|
- "$HOME/libsodium"
|
||||||
|
script:
|
||||||
|
- crystal spec
|
||||||
|
- crystal tool format --check
|
||||||
|
- crystal docs
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip_cleanup: true
|
||||||
|
github_token: $GITHUB_TOKEN
|
||||||
|
local_dir: docs
|
||||||
#addons:
|
#addons:
|
||||||
# apt:
|
# apt:
|
||||||
# packages:
|
# packages:
|
||||||
@ -21,3 +27,4 @@ cache:
|
|||||||
# homebrew:
|
# homebrew:
|
||||||
# packages:
|
# packages:
|
||||||
# - libsodium # takes forever
|
# - libsodium # takes forever
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user