-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0f15b7
commit b07de55
Showing
2 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,30 @@ | ||
sudo: true | ||
language: crystal | ||
os: | ||
- linux | ||
# - osx | ||
|
||
- linux | ||
- osx | ||
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: | ||
- export LIBSODIUM_BUILD_DIR=$HOME/libsodium | ||
- export LIBSODIUM_BUILD_DIR=$HOME/libsodium | ||
after_failure: | ||
- "[ -f libsodium_install.out ] && cat libsodium_install.out" | ||
- "[ -f libsodium_install.out ] && cat libsodium_install.out" | ||
cache: | ||
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: | ||
# apt: | ||
# packages: | ||
# - libsodium-dev # old | ||
# homebrew: | ||
# packages: | ||
# - libsodium # takes forever | ||
|