Skip to content

Commit

Permalink
Fix mage vs make issues
Browse files Browse the repository at this point in the history
And remove Makefile ... for good.

Fixes gohugoio#3969
  • Loading branch information
bep committed Oct 18, 2017
1 parent 5109ed5 commit ad5ef43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 90 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defaults: &defaults
working_directory: /go/src/github.com/gohugoio
docker:
- image: bepsays/ci-goreleaser:0.34.2-2
- image: bepsays/ci-goreleaser:0.34.2-5

version: 2
jobs:
Expand All @@ -14,8 +14,8 @@ jobs:
command: |
git clone [email protected]:gohugoio/hugoDocs.git
cd hugo
make vendor
make check
mage vendor
mage check
- persist_to_workspace:
root: .
paths: .
Expand Down
86 changes: 0 additions & 86 deletions Makefile

This file was deleted.

5 changes: 4 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ func Docker() error {

// Run tests and linters
func Check() {
mg.Deps(TestRace, Test386, Fmt, Vet)
mg.Deps(Test386, Fmt, Vet)
// don't run two tests in parallel, they saturate the CPUs anyway, and running two
// causes memory issues in CI.
mg.Deps(TestRace)
}

// Run tests in 32-bit mode
Expand Down

0 comments on commit ad5ef43

Please sign in to comment.