This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/embed.pl: Enforce some flag restrictions
[perl5.git] / .travis.yml
index 961a402..8aebd2b 100644 (file)
@@ -12,8 +12,8 @@ compiler:
 install:
   - git fetch --unshallow --tags # t/porting/cmp_version.t
   # install & enable ccache on osx
-  - if [ -d /Applications ]; then brew install ccache; fi
-  - if [ -d /Applications ]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update && brew install ccache; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
 
 env:
     global:
@@ -21,6 +21,10 @@ env:
     matrix:
         - CONFIGURE_ARGS='-Uusethreads'
         - CONFIGURE_ARGS='-Dusethreads'
+        - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT'
+        - CONFIGURE_ARGS='-DPERL_GLOBAL_STRUCT_PRIVATE'
+        - CONFIGURE_ARGS='-Duseshrplib -Dusesitecustomize'
+        - CONFIGURE_ARGS='-Duserelocatableinc'
 
 # only use gcc on linux, and only use clang on osx for now
 matrix:
@@ -67,4 +71,4 @@ notifications:
       - "GitHub URL: https://github.com/p5h/perl5demo/commit/%{commit}" # adjust this url to use the production repo
     on_success: change # default: always
     on_failure: always # default: always
-#    use_notice: true
\ No newline at end of file
+#    use_notice: true