Skip to content

Commit

Permalink
Merge pull request #590 from akutz/feature/reduce-makefile
Browse files Browse the repository at this point in the history
Reduce Makefile Complexity
  • Loading branch information
akutz committed Jul 20, 2017
2 parents 45890bb + 23fb789 commit 3c6fc58
Show file tree
Hide file tree
Showing 12 changed files with 562 additions and 1,036 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Expand Up @@ -12,16 +12,14 @@ site/
vendor/
.project
.gomk/tmp
api/server/executors/bin/
c/libstor-s/libstor-s.so
c/libstor-s/libstor-s.h
c/libstor-s/libstor-s.a
cli/semaphores/open
cli/semaphores/wait
cli/semaphores/signal
cli/semaphores/unlink
api/api_generated.go
api/server/executors/executors_generated.go
api/api_version_generated.go
drivers/storage/ebs/tests/.vagrant/
examples/ec2/vagrant/.vagrant/

Expand Down
10 changes: 4 additions & 6 deletions .travis.yml
Expand Up @@ -56,17 +56,15 @@ before_install:
- git config --global 'url.https://gopkg.in/fsnotify.v1.insteadof' 'https://gopkg.in/fsnotify.v1/'
- git config --global 'url.https://github.com/.insteadof' 'git://github.com/'
- git config --global 'url.https://github.com/.insteadof' 'git@github.com:'
- make version
- make info
- make deps
- make -C api version
- make vendor

script:
- make gometalinter-all
- make -j build
- if [ "$GOARCH" = "amd64" ] && [ "$TRAVIS_GO_VERSION" = "$COVERED_GO_VERSION" ]; then make -j test; fi
- if [ "$GOARCH" = "amd64" ] && [ "$TRAVIS_GO_VERSION" = "$COVERED_GO_VERSION" ]; then make test; fi

after_success:
- if [ "$GOARCH" = "amd64" ] && [ "$COVERAGE_ENABLED" = "1" ] && [ "$TRAVIS_GO_VERSION" = "$COVERED_GO_VERSION" ]; then make -j cover; fi
- if [ "$GOARCH" = "amd64" ] && [ "$COVERAGE_ENABLED" = "1" ] && [ "$TRAVIS_GO_VERSION" = "$COVERED_GO_VERSION" ]; then make cover; fi

addons:
apt:
Expand Down

0 comments on commit 3c6fc58

Please sign in to comment.