-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (40 loc) · 1.98 KB
/
Copy path.travis.yml
File metadata and controls
40 lines (40 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
addons:
apt:
packages:
- build-essential
- cmake
- cmake-data
- cpanminus
- libperl-dev
- ninja-build
- perl
- python3-dev
- python3-pip
- python3-setuptools
- valgrind
- xz-utils
- zip
cache:
ccache: true
directories:
- $HOME/perl_modules
dist: focal
os: linux
before_install:
- PATH+=":${HOME}/.local/bin"
- cpanm local::lib
- eval "$(perl -Mlocal::lib=$HOME/perl_modules)"
install:
- which python3
- cpanm --notest Code::TidyAll::Plugin::ClangFormat Code::TidyAll::Plugin::TestCount Dir::Manifest Dist::Zilla Env::Path Games::Solitaire::Verify::Solution IO::All Inline Inline::C Perl::Critic Perl::Tidy Pod::Weaver::PluginBundle::SHLOMIF Pod::Weaver::Section::Support Test::CPAN::Changes Test::Code::TidyAll Test::Differences Test::Kwalitee Test::Pod Test::Pod::Coverage Test::RunValgrind Test::Some Test::TrailingSpace Test::Trap
- "( cd black-hole-solitaire/Games-Solitaire-BlackHole-Solver/ && dzil authordeps --missing | grep -vP '[^\\w:]' | xargs -n 5 -P 10 cpanm --quiet --notest )"
- "( cd black-hole-solitaire/Games-Solitaire-BlackHole-Solver/ && dzil listdeps --author --missing | grep -vP '[^\\w:]' | xargs cpanm --verbose --notest )"
- python3 -m pip install --user cookiecutter pydistman tox
- python3 --version
- ( set -e -x ; cd black-hole-solitaire/python-bindings/cffi/ && python3 python_pypi_dist_manager.py build_only && cd dest && python3 -m pip install --user -r requirements.txt )
perl:
- "5.40"
python:
- "3.12"
script:
- "_verbose() { export HARNESS_VERBOSE=1 ; } ; libdir=\"$HOME/apps/fcs/lib\"; LD_LIBRARY_PATH+=\":$libdir\" ; LIBRARY_PATH+=\":$libdir\" ; export LIBRARY_PATH LD_LIBRARY_PATH ; export FCS_TEST_BUILD=1 TOXENV=\"py312\" ; export GCC_CPU_ARCH=x64 ; perl black-hole-solitaire/CI-testing/continuous-integration-testing.pl --disable-embedded-python"