我正在尝试使用以下.gitlab-ci.yml
实现GitLab CI管道:
image: python:2.7-onbuild
services:
- rethinkdb:latest
test_job:
script:
- pytest
同一目录中的requirements.txt
包含一行pytest==3.0.7
。
问题是“拉码头图像python:2.7-onbuild”似乎需要很长时间;超过14分钟(见下面的截图)。
这是正常的吗?是否有更快的方法来设置测试?
答案 0 :(得分:0)
这个问题似乎只是第一次出现,当时花了61分钟。在那之后,管道运行大约一分钟。
(作为参考,public class MainActivity...{
..
public void sendToServer(String msg){
out.println("start");
}
..
socket = new Socket(serverAddr, SERVER_PORT); //Socket Creation
out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket
.getOutputStream())), true); //stream to kick data to server
}
存储库位于https://gitlab.com/khpeek/CI-test,经过一些修改后,所有管道都成功了。