Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
burrow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hang Yu
burrow
Commits
04b2a7d4
Commit
04b2a7d4
authored
9 years ago
by
Ethan Buchman
Browse files
Options
Downloads
Patches
Plain Diff
run integration test
parent
09c21185
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
circle.yml
+15
-7
15 additions, 7 deletions
circle.yml
with
15 additions
and
7 deletions
circle.yml
+
15
−
7
View file @
04b2a7d4
machine
:
environment
:
GOPATH
:
/home/ubuntu/.go_workspace
REPO
:
${GOPATH}/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
INTEGRATION_TESTS_BRANCH
:
develop
INTEGRATION_TESTS_PATH
:
$HOME/integration-tests
DOCKER_VERSION
:
1.8.2
DOCKER_MACHINE_VERSION
:
0.5.4
post
:
-
rm -rf $
{
GOPATH
%%:*}
/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
-
mkdir -p $
{
GOPATH
%%:*}
/src/github.com/${CIRCLE_PROJECT_USERNAME}
-
cp -r ${HOME}/${CIRCLE_PROJECT_REPONAME} $
{
GOPATH
%%:*}
/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
-
rm -rf $GOPATH/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
-
mkdir -p $GOPATH/src/github.com/${CIRCLE_PROJECT_USERNAME}
-
cp -r ${HOME}/${CIRCLE_PROJECT_REPONAME} $GOPATH/src/github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}
-
git config --global user.email "billings@erisindustries.com"
-
git config --global user.name "Billings the Bot"
dependencies
:
pr
e
:
-
sudo curl -L -o /usr/bin/docker
'
http://s3-external-1.amazonaws.com/circle-downloads/docker-
1.8.2-circleci'
overrid
e
:
-
sudo curl -L -o /usr/bin/docker http://s3-external-1.amazonaws.com/circle-downloads/docker-
$DOCKER_VERSION-circleci; chmod 0755 /usr/bin/docker;
true
-
sudo service docker start
-
"
sudo
apt-get
update
&&
sudo
apt-get
install
-y
libgmp3-dev"
override
:
-
sudo curl -sSL -o /usr/bin/docker-machine https://github.com/docker/machine/releases/download/v${DOCKER_MACHINE_VERSION}/docker-machine_linux-amd64; sudo chmod 0755 /usr/bin/docker-machine
-
git clone https://github.com/eris-ltd/integration-tests $INTEGRATION_TESTS_PATH
-
"
cd
./cmd/erisdb
&&
go
get
-d
&&
go
build"
-
"
mv
~/eris-db/cmd/erisdb/erisdb
~/bin"
-
chmod +x ~/bin/erisdb
...
...
@@ -20,6 +27,7 @@ dependencies:
test
:
override
:
-
go test -v ./...
-
bash $INTEGRATION_TESTS_PATH/test.sh
deployment
:
master
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment