language: crystal os: - linux install: - SODIUM_BUILD_DEBUG=1 LIBSODIUM_BUILD_DIR=$HOME/libsodium ./build/libsodium_install.sh before_script: - export LIBSODIUM_BUILD_DIR=$HOME/libsodium after_failure: - "[ -f libsodium_install.out ] && cat libsodium_install.out" cache: directories: - "$HOME/libsodium" script: - crystal spec - crystal tool format --check - shards build - 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