Skip to content

Commit

Permalink
Drop end of life node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Aug 17, 2018
1 parent 51ab387 commit 1e97332
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ language: node_js
node_js:
- '6'
- '8'
- '9'
- '10'
os:
- linux
Expand All @@ -17,4 +16,4 @@ addons:
- libnss3
- libstdc++6
install: "npm install"
script: "./test-driver.sh"
script: "./test-driver.sh"
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ubuntu:16.04
FROM ubuntu:18.04
LABEL maintainer="Giovanni Bassi <[email protected]>"

RUN mkdir /app
WORKDIR /app
RUN apt-get update && \
apt-get install -y git curl build-essential vim libfontconfig1 libgconf-2-4 libnss3
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm i 0.12 && nvm i 4 && nvm i 6 && nvm i 7 && nvm i 8 && nvm i 9" ]
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 9" ]
RUN git clone https://github.com/giggio/node-chromedriver.git . && git remote add ssh [email protected]:giggio/node-chromedriver.git
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm i 6 && nvm i 8 && nvm i 10" ]
RUN [ "/bin/bash", "-c", "source $HOME/.nvm/nvm.sh && nvm alias default 10" ]
RUN git clone https://github.com/giggio/node-chromedriver.git . && git remote add ssh [email protected]:giggio/node-chromedriver.git
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "9"
- nodejs_version: "10"
install:
- ps: >-
Expand All @@ -23,4 +22,4 @@ test_script:
if ($nodeProcess.HasExited) { exit 1 }
Stop-Process -Id $nodeProcess.Id -Force
Stop-Process -Id $nodeProcess.Id -Force

0 comments on commit 1e97332

Please sign in to comment.