Skip to content

Commit

Permalink
Encrypted slack API token after regen
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Jun 9, 2014
1 parent cd0f42c commit 04f23ef
Showing 1 changed file with 18 additions and 28 deletions.
46 changes: 18 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php

# list any PHP version you want to test against
php:
- 5.4
- 5.5
- 5.6

# optionally specify a list of environments, for example to test different RDBMS
- 5.4
- 5.5
- 5.6
env:
- DB=mysql

# execute any number of scripts before the test run, custom env's are available as variables
- DB=mysql
before_script:
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS snipeit_laravel;" -utravis; fi
- curl -s http://getcomposer.org/installer | php
- cp app/config/production/database.example.php app/config/database.php
- cp app/config/production/mail.example.php app/config/mail.php
- php composer.phar self-update
- php composer.phar install --prefer-source --no-interaction --dev
- php artisan key:generate
- php artisan migrate:install
- php artisan migrate --package cartalyst/sentry
- php artisan migrate
- php artisan db:seed

# omitting "script:" will default to phpunit
# use the $DB env variable to determine the phpunit.xml to use
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS snipeit_laravel;"
-utravis; fi
- curl -s http://getcomposer.org/installer | php
- cp app/config/production/database.example.php app/config/database.php
- cp app/config/production/mail.example.php app/config/mail.php
- php composer.phar self-update
- php composer.phar install --prefer-source --no-interaction --dev
- php artisan key:generate
- php artisan migrate:install
- php artisan migrate --package cartalyst/sentry
- php artisan migrate
- php artisan db:seed
script: phpunit

# configure notifications (email, IRC, campfire etc)
notifications:
slack: snipe:F6LWbfP6vhr3aRBoeARFG6Ti
slack:
secure: vv9we1RxB9RsrMbomSdq6D7vz/okobw87pEkgIZjB+hj1QpQ2by90gsPsOa+NgsJEFaEP7e4KlT6SH8kK+zhbmuKaUd3d1//XdcancE22LZXi6tkiB5yuR/Jhhb1LLDqyGJTB4D92hMnnCPiUjpxNA3r437ttNeYRdYIEEP3drA=

0 comments on commit 04f23ef

Please sign in to comment.