sodium.cr/.travis.yml

31 lines
599 B
YAML
Raw Normal View History

2017-07-12 05:13:52 +02:00
language: crystal
2019-06-25 22:35:15 +02:00
os:
2019-06-28 02:49:36 +02:00
- linux
- osx
2018-02-14 01:57:29 +01:00
install:
2019-06-28 02:49:36 +02:00
- COX_BUILD_DEBUG=1 LIBSODIUM_BUILD_DIR=$HOME/libsodium ./build/libsodium_install.sh
2018-02-14 01:57:29 +01:00
before_script:
2019-06-28 02:49:36 +02:00
- export LIBSODIUM_BUILD_DIR=$HOME/libsodium
after_failure:
2019-06-28 02:49:36 +02:00
- "[ -f libsodium_install.out ] && cat libsodium_install.out"
2019-06-25 22:35:15 +02:00
cache:
directories:
2019-06-28 02:49:36 +02:00
- "$HOME/libsodium"
script:
- crystal spec
- crystal tool format --check
- crystal docs
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: docs
2019-06-25 22:35:15 +02:00
#addons:
# apt:
# packages:
# - libsodium-dev # old
# homebrew:
# packages:
# - libsodium # takes forever
2019-06-28 02:49:36 +02:00