Skip to content

Commit

Permalink
Merge pull request sonatype-nexus-community#2 from zendern/full-on-pr…
Browse files Browse the repository at this point in the history
…oject

Full on project
  • Loading branch information
zendern authored Apr 6, 2020
2 parents 7ddf791 + dbe9ac6 commit 80e3c50
Show file tree
Hide file tree
Showing 11 changed files with 1,440 additions and 102 deletions.
14 changes: 5 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
version: 2
jobs:
build:
docker:
- image: debian:stretch
docker:
- image: circleci/golang:1.13
steps:
- checkout
- run:
name: Install Nancy
command: |
cd /tmp && mkdir tools && cd -
apt-get update && apt install -y curl
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"
chmod +x /tmp/tools/nancy
name: Validate we can run it
command: go run main.go
- run:
name: Run Nancy
command: /tmp/tools/nancy ~/project/go.sum
command: ./build.sh
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store

13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
language: minimal
language: go

before_script:
- cd /tmp && mkdir tools && cd -
- 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"
- sudo chmod +x /tmp/tools/nancy
- export PATH=$PATH:/tmp/tools/

script:
- nancy Gopkg.lock
script:
- go run main.go
- ./build.sh
Loading

0 comments on commit 80e3c50

Please sign in to comment.