travis: update gopath handling hackery
Travis provides a nicer way to do this now
@@ -6,15 +6,7 @@ matrix:
allow_failures:
- go: tip
-# Gracefully handle developer forks
-install: |
- MANTLE_DIR="${GOPATH}/src/github.com/coreos/mantle"
- if [[ "${TRAVIS_BUILD_DIR}" != "${MANTLE_DIR}" ]]; then
- mkdir -p "${MANTLE_DIR%/*}"
- mv "${TRAVIS_BUILD_DIR}" "${MANTLE_DIR}"
- export TRAVIS_BUILD_DIR="${MANTLE_DIR}"
- cd "${TRAVIS_BUILD_DIR}"
- fi
+go_import_path: github.com/coreos/mantle
script:
- ./build
