Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from andboson/trav
Browse files Browse the repository at this point in the history
Trav
  • Loading branch information
Andrew Bosonchenko committed Jul 10, 2015
2 parents d37d379 + cc2de37 commit 378aa74
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 19 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
language: go
install:
- go get github.com/jteeuwen/go-bindata/...
- go get github.com/gorilla/websocket

script:
- go test -v ./...
- go test -v ./...
- go-bindata -pkg='bindata' -o bindata/bindata.go static/
- go build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOPATH=$(CURDIR)/../../
GOPATH=$(CURDIR)/../../../../

all:godeps bindata.go build

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ab-go
# ab-go [![Build Status](https://travis-ci.org/andboson/ab-go.svg?branch=?branch=master)](https://travis-ci.org/andboson/ab-go)

Inspired by `apache ab testing tool`. Created with `golang`. Add few features.

Expand Down Expand Up @@ -56,7 +56,7 @@ String of tested api name, who will be presented in results message in Slask. Us

-----------------
#### build:
mkdir $GOPATH/src/ab-go && cd $GOPATH/src/ab-go
mkdir $GOPATH/src/github.com/andboson/ab-go && cd $GOPATH/src/github.com/andboson/ab-go

git clone [email protected]:andboson/ab-go.git .

Expand Down
Binary file modified ab-go
Binary file not shown.
4 changes: 2 additions & 2 deletions bindata/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package main

import (
"fmt"
"ab-go/service"
"ab-go/requests"
"ab-go/templates"
"github.com/andboson/ab-go/service"
"github.com/andboson/ab-go/requests"
"github.com/andboson/ab-go/templates"
"os/exec"
"os"
"ab-go/server"
"github.com/andboson/ab-go/server"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion requests/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"bufio"
"net/http"
"ab-go/service"
"github.com/andboson/ab-go/service"
"math"
"fmt"
)
Expand Down
4 changes: 2 additions & 2 deletions server/sendresults.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package server
import (
"ab-go/requests"
"github.com/andboson/ab-go/requests"
"bytes"
"net/http"
"log"
Expand All @@ -9,7 +9,7 @@ import (
"encoding/json"
"net/url"
"fmt"
"ab-go/templates"
"github.com/andboson/ab-go/templates"
)

type Message struct {
Expand Down
6 changes: 3 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"
"time"
"github.com/gorilla/websocket"
"ab-go/requests"
"ab-go/bindata"
"ab-go/service"
"github.com/andboson/ab-go/requests"
"github.com/andboson/ab-go/bindata"
"github.com/andboson/ab-go/service"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion templates/formatter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package templates
import (
"ab-go/requests"
"github.com/andboson/ab-go/requests"
"fmt"
)

Expand Down
4 changes: 2 additions & 2 deletions tests/services_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package tests

import (
"testing"
"ab-go/service"
"ab-go/requests"
"github.com/andboson/ab-go/service"
"github.com/andboson/ab-go/requests"
)

func TestReadUrls(t *testing.T){
Expand Down

0 comments on commit 378aa74

Please sign in to comment.