Emmanuel Peroumalnaik hace 11 años
padre
commit
d0afd8aed0
Se han modificado 2 ficheros con 11 adiciones y 13 borrados
  1. 8 12
      .travis.yml
  2. 3 1
      lib/Selenium/Remote/Mock/RemoteConnection.pm

+ 8 - 12
.travis.yml

@@ -1,24 +1,20 @@
 language: perl
 perl:
-   - '5.20'
-   - '5.18'
-   - '5.16'
-   - '5.14'
-   - '5.12'
-   - '5.10'
+   - 5.20
+   - 5.18
+   - 5.16
+   - 5.14
+   - 5.12
+   - 5.10
 matrix:
    fast_finish: true
 before_install:
    - export AUTOMATED_TESTING=1 NONINTERACTIVE_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
-   - git clone git://github.com/haarg/perl-travis-helper
-   - source perl-travis-helper/init
-   - build-perl
-   - perl -V
    - git config --global user.name "TravisCI"
    - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org"
 install:
    - cpanm --quiet --notest --skip-satisfied Dist::Zilla
-   - "dzil authordeps          --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest"
-   - "dzil listdeps   --author --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest"
+   - "dzil authordeps --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest"
+   - "dzil listdeps   --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest"
 script:
    - dzil smoke --release --author

+ 3 - 1
lib/Selenium/Remote/Mock/RemoteConnection.pm

@@ -81,7 +81,9 @@ sub load_session_store {
     $json->allow_blessed;
     my $decoded_json = $json->allow_nonref(1)->utf8(1)->decode(<$fh>);
     close ($fh);
-
+    use DDP; 
+    my @k = keys %$decoded_json; 
+    p @k;
     $self->session_store($decoded_json);
 }