-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
137 lines (137 loc) · 3.89 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
jobs:
include:
- name: assembly
language: minimal
dist: bionic
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y binutils-i686-linux-gnu
before_script:
- as -o olq_linux_x86-64.o olq_linux_x86-64.s
- ld -o olq_linux_x86-64 -e s olq_linux_x86-64.o
- i686-linux-gnu-as -o olq_linux_x86.o olq_linux_x86.s
- i686-linux-gnu-ld -o olq_linux_x86 -e s olq_linux_x86.o
script:
- ./olq_linux_x86-64 | cmp olq_linux_x86-64.s -
- ./olq_linux_x86 | cmp olq_linux_x86.s -
- name: awk
language: minimal
script:
- echo | gawk --posix -f olq.awk | cmp olq.awk -
- name: c
language: c
before_script:
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq olq.c
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq_ascii olq_ascii.c
- gcc -Wall -Wextra -Werror -ansi -pedantic -o olq_posix olq_posix.c
script:
- ./olq | cmp olq.c -
- ./olq_ascii | cmp olq_ascii.c -
- ./olq_posix | cmp olq_posix.c -
- name: dotnet
language: csharp
mono: none
dotnet:
- 6.0.201
install: skip
before_script:
- dotnet new console -o OlqCs
- dotnet new console --language "F#" -o OlqFs
script:
- cp olq.cs OlqCs/Program.cs
- dotnet run --project OlqCs | cmp olq.cs -
- cp olq_cs9.cs OlqCs/Program.cs
- dotnet run --project OlqCs | cmp olq_cs9.cs -
- cp olq.fs OlqFs/Program.fs
- dotnet run --project OlqFs | cmp olq.fs -
- name: emojicode
language: minimal
dist: bionic
before_install:
- wget https://github.com/emojicode/emojicode/releases/download/v1.0-beta.2/Emojicode-1.0-beta.2-Linux-x86_64.tar.gz -O emojicode.tar.gz
- tar -xzf emojicode.tar.gz
before_script:
- (cd Emojicode-1.0-beta.2-Linux-x86_64 && ./emojicodec ../olq.emojic)
script:
- ./olq | cmp olq.emojic -
- name: forth
language: minimal
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y gforth
script:
- gforth olq.fth -e BYE | cmp olq.fth -
- name: go
language: go
install: skip
script:
- go run olq.go | cmp olq.go -
- name: haskell
language: haskell
install: skip
script:
- runghc olq.hs | cmp olq.hs -
- name: java
language: java
install: skip
before_script:
- javac olq.java
script:
- java Q | cmp olq.java -
- name: javascript
language: node_js
dist: focal
node_js:
- node
install: skip
script:
- node olq.js | cmp olq.js -
- node olq_es6.js | cmp olq_es6.js -
- name: lua
language: minimal
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y lua50
script:
- lua olq.lua | cmp olq.lua -
- name: perl
language: perl
install: skip
script:
- perl olq.pl | cmp olq.pl -
- perl olq_ascii.pl | cmp olq_ascii.pl -
- name: php
language: php
script:
- php olq.php | cmp olq.php -
- name: python
language: python
install: skip
script:
- python olq.py | cmp olq.py -
- python olq_percent.py | cmp olq_percent.py -
- name: rust
language: rust
install: skip
before_script:
- rustc olq.rs
script:
- ./olq | cmp olq.rs -
- name: ruby
language: ruby
install: skip
script:
- ruby olq.rb | cmp olq.rb -
- name: scheme
language: minimal
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y guile-2.0
script:
- guile olq.scm | cmp olq.scm -
- name: shell
language: minimal
script:
- sh olq.sh | cmp olq.sh -
notifications:
email: false