Skip to content

Commit

Permalink
Travis Github Pages configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
didactic-drunk committed Jun 28, 2019
1 parent a0f15b7 commit b07de55
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
# Libraries don't need dependency lock
# Dependencies will be locked in application that uses them
/shard.lock

/docs/
/build/libsodium/
/build/libsodium-*
libsodium_install.out
25 changes: 16 additions & 9 deletions .travis.yml
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

0 comments on commit b07de55

Please sign in to comment.