-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
77 lines (74 loc) · 1.92 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
matrix:
include:
- language: c
sudo: false # only for faster builds
compiler:
- clang
- gcc
script:
- gcc -o test test.c
- ./test
- gcc -o fact fact.c
- ./fact
- gcc -o demo demo.c
- ./demo
- language: cpp
compiler: gcc
dist: trusty
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
script:
- g++ swap.cpp -std=c++17 -o travis_gcc_cpp17
- ./travis_gcc_cpp17
- g++ pyra.cpp -std=c++17 -o travis_gcc_cpp17
- ./travis_gcc_cpp17
- language: java
jdk: oraclejdk8
script:
- javac test.java
- java test
- javac Fact.java
- java Fact
- language: python
python: 3.6
cache: pip
before_script:
- easy_install distribute
- pip install -r requirements.txt
script:
- python test.py
- python fact.py
- language: ruby
sudo: false
script:
- ruby hello.rb
- ruby test.rb
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- ruby-head
notifications:
email: false
- language: csharp
solution: "./Fibonacci/Fibonacci.sln"
install:
- travis_retry nuget restore -source "https://www.nuget.org/api/v2" ./Fibonacci/Fibonacci.sln
script:
- xbuild ./Fibonacci/Fibonacci.sln
- mono ./Fibonacci/packages/xunit.runner.console*/tools/xunit.console.exe ./Fibonacci/Fibonacci.Tests/bin/Debug/Fibonacci.Tests.dll
- language: node_js
node_js:
- "node"
env:
- MY_VAR=EverythignIsAwesome
- NODE_ENV=TEST
- language: scala
scala:
- 2.11.7