Skip to content

Commit

Permalink
Let's do Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu committed Nov 15, 2017
1 parent 183c28b commit 924569f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
sudo: required
language: generic

compiler:
- g++
language: generic
services:
- docker

matrix:
include:
- os: linux
env: COMPILER_NAME=gcc CXX=g++-6 CC=gcc-6 TC_CI=1
addons:
apt:
packages:
- gcc-6
- g++-6
sources: &sources
- ubuntu-toolchain-r-test
before_install:
- docker pull ubuntu:16.04

script:
- python3 install.py
- docker build .
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ubuntu:16.04

RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
RUN apt-get update
RUN python3 install.py

0 comments on commit 924569f

Please sign in to comment.