Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

Commit 7e0d995

Browse files
committed
docker pull
1 parent 19ae552 commit 7e0d995

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
pip install flake8 pytest-cov
2626
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27+
make docker-pull
2728
- name: Lint with flake8
2829
run: |
2930
# stop the build if there are Python syntax errors or undefined names
@@ -32,4 +33,4 @@ jobs:
3233
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3334
- name: Test with pytest
3435
run: |
35-
docker pull bash && docker pull openjdk && docker pull php && docker pull ruby && pytest --cov=.
36+
pytest --cov=.

.travis.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,7 @@ before_install:
1717
install:
1818
- make pip
1919
- pip install -U flake8 pylint pytest-cov codecov
20-
- docker pull gcc:4.8 # For gcc & g++
21-
- docker pull gcc:4.9 # For gccgo
22-
- docker pull golang:1 # For go
23-
- docker pull python:3 # For python3
24-
- docker pull python:2 # For python2
25-
- docker pull pypy:3 # For pypy3
26-
- docker pull pypy:2 # For pypy2
27-
- docker pull node:12 # For node
28-
- docker pull openjdk # For javac and java
29-
- docker pull clangbuiltlinux/ubuntu:llvm10-latest # For clang-10 & clang++-10
30-
- docker pull clangbuiltlinux/ubuntu:llvm11-latest # For clang-11 & clang++-11
31-
- docker pull bash # For bash
32-
- docker pull php # For php
33-
- docker pull ruby # For ruby
20+
- make docker-pull
3421
script:
3522
- make lint
3623
- make pytest

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ pytest:
3737
pytest --cov=dockerjudge
3838

3939

40+
docker-pull:
41+
sh docker-pull.sh
42+
43+
4044
lint: flake8 pylint
4145

4246
flake8:

docker-pull.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
docker pull bash # For bash
2+
docker pull clangbuiltlinux/ubuntu:llvm10-latest # For clang-10 & clang++-10
3+
docker pull clangbuiltlinux/ubuntu:llvm11-latest # For clang-11 & clang++-11
4+
docker pull gcc:4.8 # For gcc & g++
5+
docker pull gcc:4.9 # For gccgo
6+
docker pull golang:1 # For go
7+
docker pull mono # For csc, vbnc & mono
8+
docker pull node:12 # For node
9+
docker pull openjdk # For javac and java
10+
docker pull php # For php
11+
docker pull pypy:3 # For pypy3
12+
docker pull pypy:2 # For pypy2
13+
docker pull python:3 # For python3
14+
docker pull python:2 # For python2
15+
docker pull ruby # For ruby

0 commit comments

Comments
 (0)