Skip to content

Commit

Permalink
Now dl a stable version of glpi for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Hamon committed Feb 3, 2017
1 parent 1ac58e1 commit c3310c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ addons:
before_install:
- JAVA_HOME="/usr/lib/jvm/java-8-oracle"
- cd ..
- git clone git://github.com/glpi-project/glpi.git glpi
- wget https://github.com/glpi-project/glpi/archive/9.1.1.tar.gz
- tar -xzvf 9.1.1.tar.gz glpi
- cd glpi
- if [[ $GLPI != 'master' ]]; then git checkout -b $GLPI origin/$GLPI; fi
- if [[ $GLPI == 'master' ]]; then composer install --no-dev; fi
- composer install --no-dev
- cd ..
- mysql -u root -e "SET PASSWORD FOR 'travis'@'localhost' = PASSWORD('travis')"
- mysql -u root -e "GRANT ALL PRIVILEGES ON glpi.* TO 'travis'@'localhost';"
Expand Down

0 comments on commit c3310c4

Please sign in to comment.