Skip to content

Commit

Permalink
Update CI docker image
Browse files Browse the repository at this point in the history
Merge branch 'dev-modifyCI' into 'develop'

See merge request persper/code-analytics!126
  • Loading branch information
hezyin committed Jun 15, 2019
2 parents 19bfbf5 + ae449d3 commit cd2f8fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ stages:

test_ci:
stage: test
image: ubuntu:18.04
image: hub.meri.dev/test-docker/test:latest
# only:
# - setup-ci
before_script:
- apt update && apt install -y openssh-client wget libarchive-dev libcurl4-openssl-dev git python3.7 python3-pip
- apt update && apt install -y libarchive-dev #libcurl4-openssl-dev
- apt install -y zlib1g-dev libicu-dev libcurl3 libcurl-openssl1.0-dev
- apt install -y build-essential cmake libssl-dev pkg-config cmake
- wget http://131.123.42.38/lmcrs/beta/srcML-Ubuntu18.04.deb
- dpkg -i srcML-Ubuntu18.04.deb
- mkdir -p ~/.ssh
Expand All @@ -22,11 +24,9 @@ test_ci:
- export LC_ALL=C.UTF-8
- export LANG=C.UTF-8
script:
- apt-get update
- git config --global user.email "[email protected]"
- git config --global user.name "merico"
- pip3 install pipenv

- echo -e "machine gitlab.com\nlogin ${GITLAB_USER}\npassword ${GITLAB_PASSWD}" > ~/.netrc
- git clone https://gitlab.com/persper/code-analytics.git && cd code-analytics
#&& git checkout ${CI_COMMIT_REF_NAME}
Expand Down

0 comments on commit cd2f8fb

Please sign in to comment.