Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit 41259d1

Browse files
committed
xixi
1 parent dc481eb commit 41259d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ script:
1111
# - go vet ./...
1212
# - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
1313
# - go test -v -tags=integration -run=^$ ./test/integration # Check that integration test builds successfully, but don't run any of the tests (they hit live GitHub API).
14-
- curl -s "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=gue2VsUdfd5SUw6l&suffix=tar.gz" -o GeoLite2-City.tar.gz
14+
- curl -s "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${MAXMIND_LICENSE_KEY}&suffix=tar.gz" -o GeoLite2-City.tar.gz
1515
- tar -xzf GeoLite2-City.tar.gz
1616
- find . -name '*.mmdb' -exec mv {} ./web/resources/GeoLite2-City/ \;
1717
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then go build -o core -ldflags '-s -w' misc/exe/teaweb/main.go ; fi
@@ -24,7 +24,7 @@ script:
2424
after_success:
2525
- bash <(curl -s https://codecov.io/bash)
2626
before_deploy:
27-
- curl -s "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=gue2VsUdfd5SUw6l&suffix=tar.gz" -o GeoLite2-City.tar.gz
27+
- curl -s "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=${MAXMIND_LICENSE_KEY}&suffix=tar.gz" -o GeoLite2-City.tar.gz
2828
- tar -xzf GeoLite2-City.tar.gz
2929
- find . -name '*.mmdb' -exec mv {} ./web/resources/GeoLite2-City/ \;
3030
- mkdir -p releases/{bin,plugins}

0 commit comments

Comments
 (0)