Travis: upload logs to text host

This is because Travis' logs had 2 problems.
  1. it doesn't capture the entire log output
  2. it doesn't show logs when there's a timeout
vim-mode-experimental
Thomas Buckley-Houston 2018-11-14 23:15:23 +09:00
rodzic 7a622b230b
commit 714cad8615
2 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -40,8 +40,8 @@ script:
- cd $REPO_ROOT/interfacer && go test test/tty/*.go -v -ginkgo.slowSpecThreshold=30 -ginkgo.flakeAttempts=3
- cd $REPO_ROOT/interfacer && go test test/http-server/*.go -v -ginkgo.slowSpecThreshold=30 -ginkgo.flakeAttempts=3
after_failure:
- cat $REPO_ROOT/interfacer/test/tty/debug.log
- cat $REPO_ROOT/interfacer/test/http-server/debug.log
- cat $REPO_ROOT/interfacer/test/tty/debug.log | curl -F 'f:1=<-' ix.io
- cat $REPO_ROOT/interfacer/test/http-server/debug.log | curl -F 'f:1=<-' ix.io
after_success:
- $REPO_ROOT/contrib/release_if_new_version.sh

Wyświetl plik

@ -93,7 +93,9 @@ func urlBarFocusToggle() {
}
}
func UrlBarFocus(on bool) {
// Set the focus of the URL bar. Also used in tests to ensure the URL bar is in fact focussed as
// toggling doesn't guarantee that you will gain focus.
func URLBarFocus(on bool) {
if !on {
activeInputBox = nil
urlInputBox.isActive = false