mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
ci: remove travis config + all refs (#7122)
This commit is contained in:
49
.travis.yml
49
.travis.yml
@@ -1,49 +0,0 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- google-chrome
|
||||
packages:
|
||||
- google-chrome-stable
|
||||
|
||||
language: go
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
go:
|
||||
- "1.12"
|
||||
|
||||
go_import_path: github.com/hashicorp/vault
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- ui/node_modules
|
||||
|
||||
before_install:
|
||||
- nvm install 10
|
||||
- nvm use 10
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.1
|
||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- travis-testing
|
||||
|
||||
env:
|
||||
- TEST_COMMAND='make dev test-ember'
|
||||
- TEST_COMMAND='make dev test-ui-browserstack'
|
||||
- TEST_COMMAND='travis_wait 75 make testtravis'
|
||||
- TEST_COMMAND='travis_wait 75 make testracetravis'
|
||||
- GO111MODULE=on
|
||||
|
||||
script:
|
||||
- make bootstrap
|
||||
- eval $TEST_COMMAND
|
||||
6
Makefile
6
Makefile
@@ -48,12 +48,6 @@ dev-ui-mem: assetcheck dev-ui
|
||||
dev-dynamic-mem: BUILD_TAGS+=memprofiler
|
||||
dev-dynamic-mem: dev-dynamic
|
||||
|
||||
testtravis: BUILD_TAGS+=travis
|
||||
testtravis: test
|
||||
|
||||
testracetravis: BUILD_TAGS+=travis
|
||||
testracetravis: testrace
|
||||
|
||||
# test runs the unit tests and vets the code
|
||||
test: prep
|
||||
@CGO_ENABLED=$(CGO_ENABLED) \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Vault [](https://travis-ci.org/hashicorp/vault) [](https://gitter.im/hashicorp-vault/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://www.hashicorp.com/products/vault/?utm_source=github&utm_medium=banner&utm_campaign=github-vault-enterprise)
|
||||
# Vault [](https://circleci.com/gh/hashicorp/vault) [](https://gitter.im/hashicorp-vault/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [](https://www.hashicorp.com/products/vault/?utm_source=github&utm_medium=banner&utm_campaign=github-vault-enterprise)
|
||||
|
||||
----
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// +build !travis
|
||||
|
||||
package ldap
|
||||
|
||||
import (
|
||||
|
||||
@@ -405,7 +405,6 @@ func checkKeys(t *testing.T,
|
||||
|
||||
for i := p.MinDecryptionVersion; i <= p.LatestVersion; i++ {
|
||||
ver := strconv.Itoa(i)
|
||||
// Travis has weird time zone issues and gets super unhappy
|
||||
if !p.Keys[ver].CreationTime.Equal(keysArchive[i].CreationTime) {
|
||||
t.Fatalf("key %d not equivalent between policy keys and test keys archive; policy keys:\n%#v\ntest keys archive:\n%#v\n", i, p.Keys[ver], keysArchive[i])
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ function run(command, args = []) {
|
||||
console.log('success');
|
||||
process.exit(0);
|
||||
} finally {
|
||||
if (process.env.TRAVIS_JOB_NUMBER) {
|
||||
if (process.env.CI === 'true') {
|
||||
await run('ember', ['browserstack:results']);
|
||||
}
|
||||
await run('ember', ['browserstack:disconnect']);
|
||||
|
||||
Reference in New Issue
Block a user