forked from kohana/kohana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (46 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
# So all assets are compiled
node_js:
- "stable"
services:
- memcached
- mongodb
addons:
hosts:
- dev.kohana.local
- test.kohana.local
before_install:
# Looks like git submodule init and submodule update installs all
# - "git submodule update --init --recursive"
# Install Ruby
- sudo apt-get update -qq
- sudo apt-get install -qq ruby-full
before_script:
- "composer install --prefer-dist"
# Install all Ruby dependencies
- gem install bundler
- bundle install
# Install grunt
- npm install grunt-cli -g
# TODO: compile all assets
# - grunt build
script:
# - ./vendor/bin/phing test
# Standard build script
- if [[ $TRAVIS_PHP_VERSION != "hhvm" ]] ; then vendor/bin/phing test; fi
# HHVM script (phing not currently supported on hhvm pending http://www.phing.info/trac/ticket/1086)
- if [[ $TRAVIS_PHP_VERSION == "hhvm" ]] ; then ./vendor/bin/phpunit --bootstrap=modules/unittest/bootstrap_all_modules.php modules/unittest/tests.php ; fi
# No notifications for now
# notifications:
# irc:
# channels:
# - "irc.freenode.org#kohana"
# template:
# - "%{repository}/%{branch} (%{commit}) - %{author}: %{message}"
# - "Build details: %{build_url}"
# email: false