Skip to content

Commit 04ed4de

Browse files
committed
Merge branch 'develop' of github.com:revel/revel into template-engine
2 parents 9771547 + f4aeaf3 commit 04ed4de

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ go:
44
- 1.4
55
- 1.5
66
- 1.6
7+
- 1.7
8+
- 1.8
79
- tip
810

911
os:
@@ -24,9 +26,13 @@ services:
2426

2527
before_install:
2628
# 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
3036

3137
install:
3238
# Setting environments variables
@@ -38,7 +44,7 @@ install:
3844
- git clone -b $REVEL_BRANCH git://github.com/revel/cmd ../cmd/
3945
- git clone -b $REVEL_BRANCH git://github.com/revel/config ../config/
4046
- 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/
4248
- go get -v github.com/revel/revel/...
4349
- go get -v github.com/revel/cmd/revel
4450

@@ -55,18 +61,10 @@ script:
5561
- revel package my/testapp
5662
- revel package my/testapp prod
5763

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-
6664
# Commented out persona test sample, since persona.org gonna be shutdown.
6765
# Also http://personatestuser.org becomes non-responsive most of the time.
6866
# 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
7068

7169
matrix:
7270
allow_failures:

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type SourceLine struct {
3636
func NewErrorFromPanic(err interface{}) *Error {
3737

3838
// Parse the filename and line from the originating line of app code.
39-
// /Users/robfig/code/gocode/src/revel/samples/booking/app/controllers/hotels.go:191 (0x44735)
39+
// /Users/robfig/code/gocode/src/revel/examples/booking/app/controllers/hotels.go:191 (0x44735)
4040
stack := string(debug.Stack())
4141
frame, basePath := findRelevantStackFrame(stack)
4242
if frame == -1 {

testing/testsuite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func TestGetCustom(t *testing.T) {
7676

7777
testSuite.AssertOk()
7878
testSuite.AssertContentType("application/json")
79-
testSuite.AssertHeader("Server", "nginx")
79+
testSuite.AssertHeader("Server", "gunicorn/19.7.0")
8080
testSuite.AssertContains("httpbin.org")
8181
testSuite.AssertContainsRegex("gzip|deflate")
8282
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy