git-lfs/docker/test_lfs.bsh
Andy Neff f74e3d5f1f Fixed all signing and testing bugs
Can now test all distros and sign all distro
2015-07-23 23:18:36 -04:00

17 lines
360 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
git lfs init
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
cp -ra /src /tmp/test/
cd /tmp/test
mkdir -p ./src/github.com/github
unlink src/github.com/github/git-lfs || :
ln -sf $(pwd) src/github.com/github/git-lfs
LFS_BIN=1 GOPATH=$(pwd) ./script/test
LFS_BIN=1 ./script/integration