4
4
- 1.4
5
5
- 1.5
6
6
- 1.6
7
+ - 1.7
8
+ - 1.8
7
9
- tip
8
10
9
11
os :
@@ -24,9 +26,13 @@ services:
24
26
25
27
before_install :
26
28
# 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'
29
+ - echo $TRAVIS_OS_NAME
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
34
+ - redis-server --daemonize yes
35
+ - redis-cli info
30
36
31
37
install :
32
38
# Setting environments variables
@@ -38,7 +44,7 @@ install:
38
44
- git clone -b $REVEL_BRANCH git://github.com/revel/cmd ../cmd/
39
45
- git clone -b $REVEL_BRANCH git://github.com/revel/config ../config/
40
46
- git clone -b $REVEL_BRANCH git://github.com/revel/cron ../cron/
41
- - git clone -b $REVEL_BRANCH git://github.com/revel/samples ../samples /
47
+ - git clone -b $REVEL_BRANCH git://github.com/revel/examples ../examples /
42
48
- go get -v github.com/revel/revel/...
43
49
- go get -v github.com/revel/cmd/revel
44
50
@@ -55,18 +61,10 @@ script:
55
61
- revel package my/testapp
56
62
- revel package my/testapp prod
57
63
58
- # Build & run the sample apps
59
- - revel test github.com/revel/samples/booking
60
- - revel test github.com/revel/samples/chat
61
- - revel test github.com/revel/samples/facebook-oauth2
62
- - revel test github.com/revel/samples/twitter-oauth
63
- - revel test github.com/revel/samples/validation
64
- - revel test github.com/revel/samples/upload
65
-
66
64
# Commented out persona test sample, since persona.org gonna be shutdown.
67
65
# Also http://personatestuser.org becomes non-responsive most of the time.
68
66
# https://wiki.mozilla.org/Identity/Persona_Shutdown_Guidelines_for_Reliers
69
- # - revel test github.com/revel/samples /persona
67
+ # - revel test github.com/revel/examples /persona
70
68
71
69
matrix :
72
70
allow_failures :
0 commit comments