Merge pull request #4 from taylorfinnell/add-travis-badge-to-readme
add travis badge to readmemaster
commit
dfdb784783
|
@ -1 +1,6 @@
|
|||
sudo: true
|
||||
language: crystal
|
||||
install:
|
||||
- ./travis-install-lib-sodium.sh
|
||||
before_script:
|
||||
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# cox
|
||||
[![Build Status](https://travis-ci.org/andrewhamon/cox.svg?branch=master)](https://travis-ci.org/andrewhamon/cox)
|
||||
|
||||
Crystal bindings for the [libsodium box API](https://download.libsodium.org/doc/public-key_cryptography/authenticated_encryption.html)
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
# The purpose of this file is to install libsodium in
|
||||
# the Travis CI environment. Outside this environment,
|
||||
# you would probably not want to install it like this.
|
||||
#
|
||||
# from: google/hat-backup
|
||||
|
||||
set -e
|
||||
|
||||
wget https://download.libsodium.org/libsodium/releases/libsodium-stable-2018-02-14.tar.gz
|
||||
tar xvfz libsodium-stable-2018-02-14.tar.gz
|
||||
cd libsodium-stable
|
||||
sudo ./configure
|
||||
sudo make
|
||||
sudo make install
|
Loading…
Reference in New Issue