CI: beware of time limits

* .travis.yml (GCC 8): Run only the part 1 of the tests.
This commit is contained in:
Akim Demaille
2020-09-17 19:42:46 +02:00
parent 12a5cc07e0
commit b329f0b5df
2 changed files with 7 additions and 3 deletions

View File

@@ -200,7 +200,8 @@ jobs:
- CONFIGUREFLAGS='CFLAGS=-O1 CXXFLAGS=-O1' - CONFIGUREFLAGS='CFLAGS=-O1 CXXFLAGS=-O1'
- PART=1 - PART=1
- name: "GCC 8" # With glr2.cc, we run out of time with the full test suite.
- name: "GCC 8 part 1"
stage: check stage: check
os: linux os: linux
dist: bionic dist: bionic
@@ -210,6 +211,7 @@ jobs:
env: env:
- CC=gcc-8 - CC=gcc-8
- CXX=g++-8 - CXX=g++-8
- PART=1
- name: "GCC 7" - name: "GCC 7"
stage: check stage: check

View File

@@ -563,13 +563,15 @@ re-run the tests, run:
## Docker ## Docker
Running old compilers is not very easy. Docker can be used for some of Running old compilers is not very easy. Docker can be used for some of
them. Have a look at .travis.yml for setups. Move the tarball in /tmp and them. Have a look at .travis.yml for setups. Move the tarball in `/tmp`
run, for instance: and run, for instance:
``` ```
docker run -v /tmp:/tmp -it ubuntu:xenial docker run -v /tmp:/tmp -it ubuntu:xenial
``` ```
This way, the host and guest machines share `/tmp`.
### GCC 4.6 ### GCC 4.6
On Ubuntu Xenial. On Ubuntu Xenial.