Skip to content

Commit 56093ee

Browse files
committed
add go 1.4 back to travis matrix
also, tweak command to make more readable, using YAML '|' heredoc format
1 parent e98ec61 commit 56093ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: go
22

33
go:
4+
- 1.4
45
- 1.5
56
- 1.6
67
- 1.7
@@ -26,11 +27,10 @@ services:
2627
before_install:
2728
# TRAVIS_OS_NAME - linux and osx
2829
- 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'
30+
- |
31+
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
32+
brew update && brew install memcached redis && brew services start redis && brew services start memcached
33+
fi
3434
- redis-server --daemonize yes
3535
- redis-cli info
3636

0 commit comments

Comments
 (0)