Skip to content

Commit

Permalink
fix tests when running in module mode (#257)
Browse files Browse the repository at this point in the history
* fix tests when running in module mode

* add 1.12.x explicitly to the travis build
  • Loading branch information
natefinch authored Jul 18, 2019
1 parent 9a6d7fe commit d30a2cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ branches:
# library, I'm not going to worry about older versions for now.
go:
- tip
- 1.12.x
- 1.11.x
- 1.10.x
- 1.9.x
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module github.com/magefile/mage

go 1.12
2 changes: 1 addition & 1 deletion mage/testdata/mixed_lib_files/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package main

import "./subdir"
import "github.com/magefile/mage/mage/testdata/mixed_lib_files/subdir"

func Build() {
subdir.Build()
Expand Down

0 comments on commit d30a2cf

Please sign in to comment.