Unverified Commit 74cdbaaa authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent 18742897
......@@ -34,7 +34,7 @@ echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USERNAME" --password-
docker-compose pull
if [ -d persist ]; then rm -r persist; fi
docker-compose up -d
printf 'waiting for internal apis...'
printf 'waiting for internal apis'
until $(curl --output /dev/null --silent --head --fail http://localhost:15400); do
printf '.'
sleep 1
......
......@@ -984,8 +984,13 @@ func waitForDaemonProcess(timeout time.Duration) error {
func test() {
var files []string
root := "/home/travis/gopath/src/github.com/lbryio/ytsync/e2e/persist"
err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
root, err := os.Getwd()
if err != nil {
log.Error("cant get pwd!")
return
}
root = root + "/persist/.lbrynet"
err = filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
files = append(files, path)
return nil
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment