Travis CI has drastically cut on allowing tests for free: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing TL; DR: one gets about 1000 free CPU minutes per month per project.
GitHub actions are much more powerful nowadays, give much more free time, etc. On Sun, Nov 22, 2020 at 1:26 AM Qian Yun <[email protected]> wrote: > > Bellow is a simple travis CI configuration file. > > It does the most basic things, compile the source and run the tests. > > I'd like to ask your opinions about a few questions: > > 1. Shall we use a newer or older version of Ubuntu as > testing environment? > > 2. Shall we test other lisp implementations? > > I welcome other comments as well. > > (To Ralf, after this file committed to repo, all you need to do > is to login travis-ci.org with GitHub credential, maybe tweak > one or two settings.) > > - Best, > - Qian > > > diff --git a/.travis.yml b/.travis.yml > new file mode 100644 > index 00000000..dff0dffa > --- /dev/null > +++ b/.travis.yml > @@ -0,0 +1,17 @@ > +os: linux > +dist: bionic > +language: c > +addons: > + apt: > + packages: > + - sbcl > +compiler: gcc > + > +script: > + - | > + ./configure --with-x=no && make -j2 2>&1 | tee build.log | \ > + sed -n 's/.*\(")compile".*spad\).*/\1/p' > + - | > + cd src/input && make -j2 | \ > + tee ../../tests.log | sed -n 's/.*tee \(.*output\);.*/\1/p' > + - cd $TRAVIS_BUILD_DIR/src/input && ../scripts/test.sh > diff --git a/src/scripts/test.sh b/src/scripts/test.sh > new file mode 100755 > index 00000000..d9e8bf28 > --- /dev/null > +++ b/src/scripts/test.sh > @@ -0,0 +1,7 @@ > +#! /bin/sh > + > +OUTPUTS=`ls *.output | grep -v -e elemnum -e unittest` > + > +grep ' unexpected \(failures\|passes\):' ${OUTPUTS} | \ > + grep -v '\(failures\|passes\): 0' > +test $? -eq 1 > > -- > You received this message because you are subscribed to the Google Groups > "FriCAS - computer algebra system" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/fricas-devel/a4f2591d-508f-fd6f-d7a3-b6f1ebd768a4%40gmail.com. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAAWYfq2xv_aN6vWqdKzP%3DpzVbLzuPPxto4mzB_n8ppUL8w18gA%40mail.gmail.com.
