This repository was archived by the owner on Aug 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
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
8
+ (
9
+ cd $( mktemp -d)
10
+ curl https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
11
+ )
5
12
composer install
6
13
7
14
hh_client
8
15
hhvm vendor/bin/hacktest tests/
9
-
10
16
if ! (hhvm --version | grep -q -- -dev); then
11
17
hhvm vendor/bin/hhast-lint
12
18
fi
13
-
14
- # Make sure we pass when a release is required
15
- EXPORT_DIR=$( mktemp -d)
16
- git archive --format=tar -o " ${EXPORT_DIR} /exported.tar" HEAD
17
- cd " $EXPORT_DIR "
18
- tar -xf exported.tar
19
- composer install --no-dev
20
- echo > .hhconfig
21
- hh_server --check $( pwd)
Original file line number Diff line number Diff line change 1
- language : php
2
- php :
3
- - hhvm
4
- - hhvm-nightly
1
+ sudo : required
2
+ language : generic
3
+ services : docker
4
+ env :
5
+ - HHVM_VERSION=latest
6
+ install :
7
+ - docker pull hhvm/hhvm:$HHVM_VERSION
5
8
script :
6
- - ./.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