Skip to content

Commit 4fba4ff

Browse files
committed
ci: upgrade ubuntu 16->20
1 parent 6a2635b commit 4fba4ff

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.circleci/config.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defaults: &defaults
77

88
machine_defaults: &machine_defaults
99
machine:
10-
image: ubuntu-1604:202007-01
10+
image: ubuntu-2004:202010-01
1111
working_directory: ~/chip-seq-pipeline2
1212

1313
make_tag: &make_tag
@@ -22,21 +22,11 @@ commands:
2222
- run:
2323
command: |
2424
sudo apt-get update && sudo apt-get install software-properties-common git wget curl -y
25+
sudo apt-get install -y software-properties-common git wget curl python3 python3-pip default-jre
2526
26-
# install java 11
27-
sudo add-apt-repository ppa:openjdk-r/ppa -y
28-
sudo apt-get update && sudo apt-get install openjdk-11-jdk -y
29-
# automatically set 11 as default java
30-
sudo update-java-alternatives -a
31-
32-
sudo add-apt-repository ppa:deadsnakes/ppa -y
33-
sudo apt-get update && sudo apt-get install python3.6 -y
34-
sudo wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
35-
sudo python3.6 get-pip.py
36-
sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
37-
38-
pip3 install --upgrade pip
39-
pip3 install caper google-cloud-storage
27+
sudo python3 -m pip install --upgrade pip
28+
sudo pip3 install PyYAML --ignore-installed
29+
sudo pip3 install caper google-cloud-storage
4030
4131
run_workflow_test:
4232
description: "Run workflow test. This requires an env var INPUT as input JSON's basename."

0 commit comments

Comments
 (0)