From 81b7af7f18f008f10585d74d9b8d603d16a79a8c Mon Sep 17 00:00:00 2001 From: azjezz Date: Sun, 1 Dec 2019 23:26:21 +0100 Subject: [PATCH] fix travis configurations --- .gitattributes | 1 - .gitignore | 2 +- .hhconfig | 3 +++ .travis.yml | 23 +++++++++++++++-------- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6f238c5..0e5711a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,5 @@ *.hack linguist-language=Hack /tests export-ignore -/docs export-ignore .travis.sh export-ignore .travis.yml export-ignore diff --git a/.gitignore b/.gitignore index 1a84552..5daa927 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ +/vendor/ composer.lock -vendor/ *.hhast.parser-cache diff --git a/.hhconfig b/.hhconfig index 4fa5a13..563681d 100644 --- a/.hhconfig +++ b/.hhconfig @@ -2,4 +2,7 @@ assume_php=false safe_array = true safe_vector_array = true unsafe_rx = false +const_default_func_args = true +disallow_array_literal = true +disable_lval_as_an_expression = true ignored_paths = [ "vendor/.+/tests/.+", "vendor/.+/bin/.+" ] diff --git a/.travis.yml b/.travis.yml index 23c40ef..2354d8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,25 @@ -sudo: false dist: trusty -language: generic +language: shell services: docker +os: + - linux + env: -- HHVM_VERSION=4.25-latest -- HHVM_VERSION=latest -- HHVM_VERSION=nightly -matrix: + - HHVM_VERSION=4.25-latest + - HHVM_VERSION=4.30-latest + - HHVM_VERSION=latest + - HHVM_VERSION=nightly + +jobs: allow_failures: - env: HHVM_VERSION=nightly + install: -- docker pull hhvm/hhvm:$HHVM_VERSION + - docker pull hhvm/hhvm:$HHVM_VERSION + script: -- docker run --rm -w /var/source -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION ./.travis.sh + - docker run --rm -w /var/source -v $(pwd):/var/source hhvm/hhvm:$HHVM_VERSION ./.travis.sh + notifications: slack: secure: fZ74Yt9xxelrIZiWBe74X6zCNV+RCbI2aD0EjB8P6d3ovIdyHc+JOe/AFDwUwU8tuKBYt1DpiMnw/rFQQwu2Y6CQnAjgGtG+ScCCVhy5OJvHqFTmMt/XMs9Hrgdylak3IofaI6D/4Du+E9ZMXHgXGVgjQQr0SNMsj1s70sSd97oiW4t4Kn5hxlAbZK7EWCs2BWwyTtVJD96UOEJrBK59lD0wQvfv0wSV948Wwnms70cPgO26Fa+pdBGsv4Ho475Dzu/y4JuO/kqMMzodZtMSm7FNDrppwqgX3qYkfGBI/foQ5IpBn5gGcG5w3RhZLXsNhLDrULcEHtF1Ptfo5PQGUArN8KPRf91Mju2CGICg3wy6GMEm+iXHdPWzUkCaQPhw4ty6ix+fm2ELatXW4BGGXANJzL6UNUGuQPh4Z2oVeX8zEFpUAA+PJRzd6FPYdQDdI3Xj8P445x/KQ+Mg4f2wCR/YKTkjWbkYKzqvjvssgrDGkbQfhXWAOr5/NgKj0/vRovT66Tra14UncjZdM6yHUOqeMq5KfDboEBXoj7+jZG1cQmtSErUoFF2CUyI/Jqva7symsJbjOYSVTKv6BAgoL+CncdLcTPGFLzavLiavkqp4Gd3ErWoeOWqFY0ZYByY4cLcnwLtL0TrY6Y9fdzFeJLmN6xhxTteuw3Ils66K/fw=