Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Commit

Permalink
Merge pull request #468 from containers/sboeuf/remove_travis
Browse files Browse the repository at this point in the history
.ci: Remove travis CI
  • Loading branch information
Samuel Ortiz authored Nov 6, 2017
2 parents 947e7bb + 17b7761 commit 9b7af20
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 33 deletions.
13 changes: 13 additions & 0 deletions .ci/jenkins_job_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ export GOPATH=${HOME}/go
export PATH=${GOPATH}/bin:/usr/local/go/bin:/usr/sbin:${PATH}
export CI=true

# Download and build goveralls binary in case we need to submit the code
# coverage.
if [ ${COVERALLS_REPO_TOKEN} ]
then
go get github.com/mattn/goveralls
fi

# Get the repository and move HEAD to the appropriate commit.
go get ${vc_repo} || true
cd "${GOPATH}/src/${vc_repo}"
Expand All @@ -37,3 +44,9 @@ fi
# Setup environment and run the tests
sudo -E PATH=$PATH bash .ci/setup.sh
sudo -E PATH=$PATH bash .ci/run.sh

# Publish the code coverage if needed.
if [ ${COVERALLS_REPO_TOKEN} ]
then
sudo -E PATH=${PATH} bash -c "${GOPATH}/bin/goveralls -repotoken=${COVERALLS_REPO_TOKEN} -coverprofile=profile.cov"
fi
7 changes: 4 additions & 3 deletions .ci/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
#
# Copyright (c) 2017 Intel Corporation

# Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,8 +15,6 @@
# limitations under the License.
#

#!/bin/bash

set -e

export CI=true
Expand All @@ -28,5 +28,6 @@ sudo -E PATH=$PATH sh -c "go test -bench=CreateStartStopDeletePodQemuHypervisorN

sudo -E PATH=$PATH sh -c "go test -bench=CreateStartStopDeletePodQemuHypervisorHyperstartAgentNetworkCNI -benchtime=60s"

cd "${GOPATH}/src/${tests_repo}"
pushd "${GOPATH}/src/${tests_repo}"
.ci/run.sh
popd
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

0 comments on commit 9b7af20

Please sign in to comment.