Skip to content

Commit 80e3c50

Browse files
authored
Merge pull request sonatype-nexus-community#2 from zendern/full-on-project
Full on project
2 parents 7ddf791 + dbe9ac6 commit 80e3c50

File tree

11 files changed

+1440
-102
lines changed

11 files changed

+1440
-102
lines changed

.circleci/config.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
version: 2
22
jobs:
33
build:
4-
docker:
5-
- image: debian:stretch
4+
docker:
5+
- image: circleci/golang:1.13
66
steps:
77
- checkout
88
- run:
9-
name: Install Nancy
10-
command: |
11-
cd /tmp && mkdir tools && cd -
12-
apt-get update && apt install -y curl
13-
curl -s -L "https://github.com/sonatype-nexus-community/nancy/releases/download/v0.0.39/nancy-linux.amd64-v0.0.39" -o "/tmp/tools/nancy"
14-
chmod +x /tmp/tools/nancy
9+
name: Validate we can run it
10+
command: go run main.go
1511
- run:
1612
name: Run Nancy
17-
command: /tmp/tools/nancy ~/project/go.sum
13+
command: ./build.sh

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
.DS_Store
1+
.DS_Store
2+

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
language: minimal
1+
language: go
22

3-
before_script:
4-
- cd /tmp && mkdir tools && cd -
5-
- sudo curl -s -L "https://github.com/sonatype-nexus-community/nancy/releases/download/0.0.39/nancy-linux.amd64-0.0.39" -o "/tmp/tools/nancy"
6-
- sudo chmod +x /tmp/tools/nancy
7-
- export PATH=$PATH:/tmp/tools/
8-
9-
script:
10-
- nancy Gopkg.lock
3+
script:
4+
- go run main.go
5+
- ./build.sh

0 commit comments

Comments
 (0)