forked from codewars/codewars-runner-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (48 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo: required
language: node_js
node_js:
- "6"
install:
- npm install -g [email protected]
services:
- docker
after_success:
- docker ps -a
- docker images -a
env:
matrix:
- TEST_IMG=node
- TEST_IMG=dotnet
- TEST_IMG=jvm
- TEST_IMG=python
- TEST_IMG=ruby
- TEST_IMG=alt
- TEST_IMG=rust
- TEST_IMG=julia
- TEST_IMG=systems
- TEST_IMG=dart
- TEST_IMG=crystal
- TEST_IMG=ocaml
- TEST_IMG=swift
- TEST_IMG=haskell
- TEST_IMG=objc
- TEST_IMG=go
- TEST_IMG=lua
- TEST_IMG=java
- TEST_IMG=esolangs
- TEST_IMG=chapel
- TEST_IMG=nim
- TEST_IMG=r
- TEST_IMG=erlang
- TEST_IMG=elixir
- TEST_IMG=powershell
- TEST_IMG=gradle
- TEST_IMG=solidity
script:
- eslint '**/*.js'
- cp docker/${TEST_IMG}.docker ./Dockerfile
- if docker pull codewars/${TEST_IMG}-runner; then
docker build --cache-from codewars/${TEST_IMG}-runner -t codewars/${TEST_IMG}-runner .;
else
docker build -t codewars/${TEST_IMG}-runner .;
fi