Hello, I would like to make tests succeed. Here is what I get:
$ make test
govendor test +local
? github.com/spf13/hugo [no test files]
ok github.com/spf13/hugo/bufferpool 0.023s
ok github.com/spf13/hugo/commands 0.030s
? github.com/spf13/hugo/config [no test files]
ok github.com/spf13/hugo/create 0.074s
? github.com/spf13/hugo/deps [no test files]
? github.com/spf13/hugo/docshelper [no test files]
ok github.com/spf13/hugo/helpers 0.233s
ok github.com/spf13/hugo/hugofs 0.028s
ok github.com/spf13/hugo/hugolib 4.547s
ok github.com/spf13/hugo/i18n 0.021s
? github.com/spf13/hugo/livereload [no test files]
ok github.com/spf13/hugo/media 0.033s
ok github.com/spf13/hugo/output 0.028s
ok github.com/spf13/hugo/parser 0.019s
--- FAIL: TestReleaseNotesWriter (0.02s)
Error Trace: releasenotes_writer_test.go:37
Error: Received unexpected error:
git failed: "exit status 128": "fatal: v0.20^ n'est pas un nom d'objet valide\n"
FAIL
FAIL github.com/spf13/hugo/releaser 0.055s
ok github.com/spf13/hugo/source 0.021s
? github.com/spf13/hugo/tpl [no test files]
ok github.com/spf13/hugo/tpl/tplimpl 2.107s
ok github.com/spf13/hugo/transform 0.023s
? github.com/spf13/hugo/utils [no test files]
? github.com/spf13/hugo/watcher [no test files]
Error: exit status 1
Makefile:47 : la recette pour la cible « test » a échouée
make: *** [test] Erreur 2
$ git checkout upstream/master
HEAD is now on 93a447c5... docs: Fix typos
$ make check
govendor test -race +local
? github.com/spf13/hugo [no test files]
ok github.com/spf13/hugo/bufferpool 1.016s
ok github.com/spf13/hugo/commands 1.094s
? github.com/spf13/hugo/config [no test files]
ok github.com/spf13/hugo/create 1.367s
? github.com/spf13/hugo/deps [no test files]
? github.com/spf13/hugo/docshelper [no test files]
ok github.com/spf13/hugo/helpers 1.464s
ok github.com/spf13/hugo/hugofs 1.020s
ok github.com/spf13/hugo/hugolib 16.829s
ok github.com/spf13/hugo/i18n 1.043s
? github.com/spf13/hugo/livereload [no test files]
ok github.com/spf13/hugo/media 1.018s
ok github.com/spf13/hugo/output 1.072s
ok github.com/spf13/hugo/parser 1.053s
--- FAIL: TestReleaseNotesWriter (0.01s)
Error Trace: releasenotes_writer_test.go:37
Error: Received unexpected error:
git failed: "exit status 128": "fatal: v0.20^ n'est pas un nom d'objet valide\n"
FAIL
FAIL github.com/spf13/hugo/releaser 0.043s
ok github.com/spf13/hugo/source 1.066s
? github.com/spf13/hugo/tpl [no test files]
ok github.com/spf13/hugo/tpl/tplimpl 4.389s
ok github.com/spf13/hugo/transform 1.071s
? github.com/spf13/hugo/utils [no test files]
? github.com/spf13/hugo/watcher [no test files]
Error: exit status 1
Makefile:50 : la recette pour la cible « test-race » a échouée
make: *** [test-race] Erreur 2
Thank you for that change. I am currently updating the code with your latest modifications on the tpl/ directory structure. But I don’t know if I am doing right.
deploy/netlify and license/cla are passing now, but neither continuous-integration/travis-ci/pr nor continuous-integration/appveyor/pr are doing well.
What do you think I am doing wrong? Thank you!!
EDIT: It works now. I updated the code to match with the latest commits. Dunno if that was the problem. This CI system seems to be a little capricious sometimes!