File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
set -ex
3
+ apt update -y
4
+ DEBIAN_FRONTEND=noninteractive apt install -y php-cli zip unzip
3
5
hhvm --version
6
+ php --version
4
7
5
- wget https://getcomposer.org/composer.phar
6
- hhvm ./composer.phar install --ignore-platform-reqs
8
+ (
9
+ cd $( mktemp -d)
10
+ curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
11
+ )
12
+ composer install
7
13
8
14
hh_client
15
+ # no run-time tests for this as it's just interfaces
16
+ # hhvm vendor/bin/hacktest tests/
9
17
10
- hhvm vendor/bin/hhast-lint
18
+ # ... but we probably should enable lint
19
+ # if !(hhvm --version | grep -q -- -dev); then
20
+ # hhvm vendor/bin/hhast-lint
21
+ # fi
Original file line number Diff line number Diff line change 1
- language : php
2
- php :
3
- - hhvm
1
+ sudo : required
2
+ language : generic
3
+ services : docker
4
+ env :
5
+ - HHVM_VERSION=latest
6
+ install :
7
+ - docker pull hhvm/hhvm:$HHVM_VERSION
4
8
script :
5
- - ./.travis.sh
9
+ - docker run --rm -w /var/source -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION ./.travis.sh
You can’t perform that action at this time.
0 commit comments