Skip to content

Commit

Permalink
switch to cip for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
plicease committed Mar 12, 2019
1 parent 0067100 commit 187b079
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 21 deletions.
49 changes: 29 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
language: perl
sudo: false
dist: trusty
language: minimal
dist: xenial
services:
- docker

install:
- perlbrew list
- cpanm -n Dist::Zilla
- dzil authordeps --missing | cpanm -n
- dzil listdeps --missing | cpanm -n
before_install:
- curl https://raw.githubusercontent.com/plicease/cip/master/bin/travis-bootstrap | bash
- cip before-install

perl:
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "5.26"
install:
- cip diag
- cip install

script:
- dzil test -v
- cip script

jobs:
include:
- env: CIP_TAG=5.29
- env: CIP_TAG=5.28
- env: CIP_TAG=5.26
- env: CIP_TAG=5.24
- env: CIP_TAG=5.22
- env: CIP_TAG=5.20
- env: CIP_TAG=5.18
- env: CIP_TAG=5.16
- env: CIP_TAG=5.14
- env: CIP_TAG=5.12
- env: CIP_TAG=5.10
- env: CIP_TAG=5.8

env:
global:
- PERL_USE_UNSAFE_INC=0
cache:
directories:
- "$HOME/.cip"
9 changes: 9 additions & 0 deletions maint/cip-before-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -ex

cip sudo bash -c '
set -ex;
curl https://dl.google.com/go/go1.12.linux-amd64.tar.gz | tar -C /usr/local -zxvf -;
cd /usr/local/bin;
ln -s ../go/bin/* .'
2 changes: 1 addition & 1 deletion t/ffi_platypus_lang_go.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ subtest 'basic' => sub {

my @types = qw(
gobool
gostring
goint goint8 goint16 goint32 goint64
gouint gouint8 gouint16 gouint32 gouint64 gouintptr
gobyte
gorune
gofloat32 gofloat64
);

# gostring
# support depends on C, libffi, etc
# complex64 complex128

Expand Down

0 comments on commit 187b079

Please sign in to comment.