Add back travis since github actions is trash

This commit is contained in:
Anmol Sethi
2020-02-17 23:22:12 -05:00
parent 0d31a51eeb
commit eb3cf303ad
8 changed files with 62 additions and 201 deletions

11
ci/image/run.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
imageTag="$(docker build -q ci/image)"
docker run -t --rm -e CI -e GITHUB_TOKEN -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/repo" -w /repo "$imageTag" "$*"
}
main "$@"