Skip to content

Commit

Permalink
Travis doesn't allow alias apparently...
Browse files Browse the repository at this point in the history
  • Loading branch information
padraic committed Feb 15, 2015
1 parent bd3b5cd commit 355e4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cache:
- $HOME/.composer/cache

before_install:
- if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then pushd $HOME; git clone https://github.com/php/php-src.git; pushd php-src; ./buildconf -f; ./configure --prefix=$HOME/.phpenv/versions/7 && make && make install; phpenv global 7; popd; popd; php --version; wget http://getcomposer.org/composer.phar; alias composer='php composer.phar'; fi
- if [[ "$TRAVIS_PHP_VERSION" == "5.3.3" ]]; then pushd $HOME; git clone https://github.com/php/php-src.git; pushd php-src; ./buildconf -f; ./configure --prefix=$HOME/.phpenv/versions/7 && make && make install; phpenv global 7; popd; popd; php --version; echo Travis PHP Version is $TRAVIS_PHP_VERSION; curl -sS https://getcomposer.org/installer | php -- --install-dir=phar; export PATH=$PWD/phar:$PATH; fi

install:
- travis_retry composer install -n
Expand Down

0 comments on commit 355e4ef

Please sign in to comment.