Skip to content

Commit

Permalink
Move apt-get dependencies (.circleci/config.yml) to pre-built docker …
Browse files Browse the repository at this point in the history
…image (#9549)
  • Loading branch information
haraldreingruber authored and kripken committed Oct 14, 2019
1 parent 76d1b3b commit a673a40
Showing 1 changed file with 1 addition and 48 deletions.
49 changes: 1 addition & 48 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
executors:
bionic:
docker:
- image: buildpack-deps:bionic
- image: emscripten/emscripten-ci
environment:
LANG: "C.UTF-8"
EMTEST_DETECT_TEMPFILE_LEAKS: "1"
Expand Down Expand Up @@ -83,12 +83,6 @@ commands:
- attach_workspace:
# Must be absolute path or relative path from working_directory
at: ~/
- run:
name: install package dependencies
command: |
apt-get update -q
# openjdk-9 is also available, but hits #7232
apt-get install -q -y python3 cmake build-essential openjdk-8-jre-headless
- run:
name: run tests
command: |
Expand Down Expand Up @@ -122,15 +116,6 @@ commands:
- attach_workspace:
# Must be absolute path or relative path from working_directory
at: ~/
- run:
name: install package dependencies
command: |
apt-get update -q
apt-get install -q -y python3 cmake build-essential openjdk-8-jre-headless
# preseed packages so that apt-get won't prompt for user input
echo "keyboard-configuration keyboard-configuration/layoutcode string us" | debconf-set-selections
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections
apt-get install -q -y dbus-x11 firefox menu openbox ttf-mscorefonts-installer xinit xserver-xorg xserver-xorg-video-dummy
- run:
name: download firefox
command: |
Expand Down Expand Up @@ -229,14 +214,6 @@ commands:
- attach_workspace:
# Must be absolute path or relative path from working_directory
at: ~/
- run:
name: install package dependencies
command: |
apt-get update -q
# install chromium-browser in order to ensure we have most of the
# dependecies for chrome.
EXTRA_CHROME_DEPS="lsb-release fonts-liberation libappindicator3-1"
apt-get install -q -y unzip xvfb chromium-browser openjdk-8-jre-headless $EXTRA_CHROME_DEPS
- run:
name: download chrome
command: |
Expand All @@ -262,11 +239,6 @@ jobs:
executor: bionic
steps:
- checkout
- run:
name: install package dependencies
command: |
apt-get update -q
apt-get install -q -y python3 cmake
- run:
name: install emsdk
command: |
Expand Down Expand Up @@ -308,25 +280,11 @@ jobs:
executor: bionic
steps:
- checkout
- run:
name: install sphinx
command: |
apt-get update -q
DEBIAN_FRONTEND=noninteractive apt-get install -q -y sphinx-common
- run: make -C site html
flake8:
executor: bionic
steps:
- checkout
- run:
name: install pip
command: |
apt-get update -q
apt-get install -q -y python-pip python3-pip
- run: python2 -m pip install --upgrade pip
- run: python3 -m pip install --upgrade pip
- run: python2 -m pip install flake8==3.7.8
- run: python3 -m pip install flake8==3.7.8
- run: python2 -m flake8 --show-source --statistics
- run: python3 -m flake8 --show-source --statistics
test-other:
Expand Down Expand Up @@ -419,11 +377,6 @@ jobs:
build-upstream-linux:
executor: bionic
steps:
- run:
name: install package dependencies
command: |
apt-get update -q
apt-get install -q -y python3 cmake
- checkout
- run:
name: get wasmer
Expand Down

0 comments on commit a673a40

Please sign in to comment.