Hi,
> On 03 Feb 2016, at 15:21, Holger Freyther <[email protected]> wrote:
>
>
>> On 03 Feb 2016, at 13:36, Esteban Lorenzano <[email protected]> wrote:
>>
>
>
> Hi,
>
>
>
>> And it is still not working correctly (even if my pull request was
>> integrated and Fabio continued working on it).
>
> yes it is still not working, i created a 'wrong' #stable in my configuration
> but now it doesn't want to take the main package from the local repository
> (and no I don't want to write github://... as the repo might be cloned). The
> added benefit of smalltalkCI is that I can test a Pharo4.0, Pharo5.0 build at
> the same time without having to write a shell script to make the
> differentiation for me.
you can have your matrix using env variables:
.travis.yml:
language: c
os:
- linux
- osx
addons:
apt:
packages:
- lib32asound2
- lib32z1
- lib32bz2-1.0
- libssl1.0.0:i386
- libfreetype6:i386
script:
- scripts/run-tests.sh
env:
- PHARO_VERSION=50
- PHARO_VERSION=40
then the script:
scripts/run-tests.sh:
#!/bin/bash
set -ex
baseline=Ice
packages_dir=mc
test="$baseline.*"
# add a default version
if [ -z $PHARO_VERSION ]; then
PHARO_VERSION=50
fi
# download pharo
wget --quiet -O - get.pharo.org/$PHARO_VERSION+vm | bash
# install project
./pharo Pharo.image eval --save "
Metacello new
baseline: '$baseline';
repository: 'filetree://$packages_dir';
load.
"
# execute tests
./pharo Pharo.image test --no-xterm --fail-on-failure "$test" 2>&1
if you see this project: https://github.com/estebanlm/ice
it is running a quadruple matrix: linux, osx, pharo40, pharo50 (others can be
added).
cheers,
Esteban
> holger
>
>
>
>