-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
31 lines (26 loc) · 1.01 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
dist: trusty
language: python
compiler: g++
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-5 g++-5
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 40 --slave /usr/bin/g++ g++ /usr/bin/g++-5
- sudo update-alternatives --config gcc
install:
# installing requirements for kattis problem tools
# note that on debian/ubuntu pip tools are being installed to the python2 pip
# install kattis problem tools
- chmod +x travis-install.sh
- sudo ./travis-install.sh
- sudo pip2 install git+https://github.com/kattis/problemtools
script:
- verifyproblem armorhere
- verifyproblem craftmines
- verifyproblem dangtiles
- verifyproblem melzarmaze
- verifyproblem silentmist
- verifyproblem slaykayran
- verifyproblem standbehindbraum
- verifyproblem thewayforward