Skip to content

Commit

Permalink
Update the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoirotte committed Apr 6, 2014
1 parent ea9dbb2 commit 7e11fa8
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 62 deletions.
9 changes: 9 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

export DEBIAN_FRONTEND=noninteractive
apt-get remove -qq hhvm
add-apt-repository -y ppa:mapnik/boost
wget -O- http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
echo deb http://dl.hhvm.com/ubuntu precise main | tee /etc/apt/sources.list.d/hhvm.list
apt-get update -q
apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" hhvm-nightly
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,18 @@ php:
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm

notifications:
email: false
irc: "irc.iiens.net#Erebot"

before_script:
- if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ]; then sudo "$TRAVIS_BUILD_DIR/.travis.sh"; fi
- composer self-update -n
- composer install --dev -n

script:
- phpunit --coverage-clover clover.xml --bootstrap vendor/erebot/testenv/bootstrap.php tests/
script: phpunit --coverage-clover clover.xml --bootstrap tests/bootstrap.php tests/

after_script:
- composer require --dev $prefer_source "satooshi/php-coveralls dev-master"
- composer require --dev "satooshi/php-coveralls dev-master"
- php vendor/bin/coveralls -n -v

108 changes: 54 additions & 54 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<phpunit forceCoversAnnotation="true" bootstrap="tests/bootstrap.php">
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Erebot/Module/IrcConnector">
<directory>tests/</directory>
Expand Down

0 comments on commit 7e11fa8

Please sign in to comment.