File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - 1.4
5
4
- 1.5
6
5
- 1.6
6
+ - 1.7
7
+ - 1.8
7
8
- tip
8
9
9
10
os :
@@ -24,9 +25,14 @@ services:
24
25
25
26
before_install :
26
27
# TRAVIS_OS_NAME - linux and osx
27
- - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install memcached redis; fi'
28
- - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then nohup /usr/local/opt/memcached/bin/memcached & fi'
29
- - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then nohup redis-server /usr/local/etc/redis.conf & fi'
28
+ - echo $TRAVIS_OS_NAME
29
+ - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install memcached redis && brew services start redis && brew services start memcached; fi'
30
+ # - 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start redis-server && brew services start memcached; fi'
31
+ # - 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then nohup /usr/local/opt/memcached/bin/memcached & fi'
32
+ # - 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then nohup redis-server /usr/local/etc/redis.conf & fi'
33
+ # - 'if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo start redis-server & fi'
34
+ - redis-server --daemonize yes
35
+ - redis-cli info
30
36
31
37
install :
32
38
# Setting environments variables
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func TestGetCustom(t *testing.T) {
76
76
77
77
testSuite .AssertOk ()
78
78
testSuite .AssertContentType ("application/json" )
79
- testSuite .AssertHeader ("Server" , "nginx " )
79
+ testSuite .AssertHeader ("Server" , "gunicorn/19.7.0 " )
80
80
testSuite .AssertContains ("httpbin.org" )
81
81
testSuite .AssertContainsRegex ("gzip|deflate" )
82
82
}
You can’t perform that action at this time.
0 commit comments