Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit b8afda1

Browse files
committed
Add travis run on osx server
1 parent c041658 commit b8afda1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ php:
44
- 7.0
55
- hhvm
66

7+
os:
8+
- osx
9+
710
before_install:
8-
- brew update
9-
- brew install phantomjs
11+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
12+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install phantomjs; fi
1013
- export PHANTOMJS_BINARY_PATH=$(which phantomjs)
1114

1215
script:

0 commit comments

Comments
 (0)