Skip to content

Commit

Permalink
Merge pull request #75 from FriendsOfCake/dereuromark-patch-1
Browse files Browse the repository at this point in the history
Fix version check
  • Loading branch information
ADmad authored Apr 19, 2018
2 parents 015cf4f + 6299857 commit c6f71fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
Expand Down
2 changes: 1 addition & 1 deletion before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
#
latest_ref() {
# Get version from master branch
MASTER=$(curl --silent https://raw.github.com/cakephp/cakephp/master/lib/Cake/VERSION.txt)
MASTER=$(curl --silent https://raw.githubusercontent.com/cakephp/cakephp/2.x/lib/Cake/VERSION.txt)
MASTER=$(echo "$MASTER" | tail -1 | grep -Ei "^$CAKE_VERSION\.")
if [ -n "$MASTER" ]; then
echo "master"
Expand Down

0 comments on commit c6f71fc

Please sign in to comment.