Try conditions v1
@@ -3,11 +3,11 @@ language: generic
jobs:
include:
- - if: (fork IN (true)) OR (type IN (pull_request))
+ - if: env(GH_TOKEN) IS blank
os: osx
osx_image: xcode6.4
- - if: (fork IN (false)) AND (NOT (type IN (pull_request)))
+ - if: env(GH_TOKEN) IS present
os: linux
sudo: false
