-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from thibaultCha/chore/ci
chore: add Travis CI and rockspec
- Loading branch information
Showing
4 changed files
with
55 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
git clone https://github.com/P-H-C/phc-winner-argon2.git $ARGON2_DIR | ||
pushd $ARGON2_DIR | ||
git checkout $ARGON2_VERSION | ||
make | ||
make test | ||
popd | ||
|
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
sudo: false | ||
notifications: | ||
email: false | ||
env: | ||
global: | ||
- ARGON2_VERSION=20151206 | ||
- ARGON2_DIR=$HOME/argon2 | ||
matrix: | ||
- LUA="luajit 2.0" | ||
- LUA="luajit 2.1" | ||
before_install: | ||
- bash .ci/setup_argon2.sh | ||
- pip install --user hererocks | ||
- hererocks lua_install -r^ --$LUA | ||
- export PATH=$PATH:$PWD/lua_install/bin | ||
- luarocks install busted | ||
- luarocks install luacov-coveralls | ||
- export LD_LIBRARY_PATH="$HOME/argon2" | ||
install: | ||
- luarocks make | ||
script: | ||
- busted -v -o gtest --repeat 3 spec | ||
after_success: | ||
- coveralls -b . -r . -i ./src | ||
cache: | ||
pip: true |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package = "argon2-ffi" | ||
version = "0.0.1-0" | ||
source = { | ||
url = "git://github.com/thibaultCha/lua-argon2-ffi", | ||
tag = "0.0.1" | ||
} | ||
description = { | ||
summary = "LuaJIT FFI binding for the Argon2 password hashing algorithm", | ||
homepage = "https://github.com/thibaultCha/lua-argon2-ffi", | ||
license = "MIT" | ||
} | ||
build = { | ||
type = "builtin", | ||
modules = { | ||
["argon2"] = "src/argon2.lua" | ||
} | ||
} |