This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
46 lines (41 loc) · 1.8 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
env:
global:
- secure: "ir41AQtkicWViYb3j6QLwX9QkSJZA6/ufi/5r3PCAOzMm9tL6krQp5OQeOePS7vDtbSWVhuH2U8yiPUnWL8mfILeGsV7+sWW9mKRwPeFqgT8y6VheEvLM75firNx4siKpSR8rh+htrSSNl61hMe7n5RnNqwHHYntDrR9GcYYyO8="
addons:
apt:
sources:
- mono
- mono-libtiff-compat
packages:
- mono-complete
- nuget
language: python
python:
- "2.7"
sudo: false
before_script:
- curl -o /tmp/go.tar.gz https://storage.googleapis.com/golang/go1.7.2.linux-amd64.tar.gz
- (mkdir -p /tmp/goinstall; tar -C /tmp/goinstall -xzf /tmp/go.tar.gz)
- mkdir $HOME/go
- GOPATH=$HOME/go GOROOT=/tmp/goinstall/go /tmp/goinstall/go/bin/go get github.com/google/go-github/github github.com/jackc/pgx
- ( GOPATH=$HOME/go GOROOT=/tmp/goinstall/go cd http-api ; GOPATH=$HOME/go GOROOT=/tmp/goinstall/go /tmp/goinstall/go/bin/go build credentials.go data.go db.go main.go )
- pip2 install --upgrade pip
- pip2 install astroid==1.3.8
- pip2 install pylint==1.4.4
- pip2 install buildbot==0.8.12
- pip2 install requests
- EC2PBOTMASTERIP=dummy make -C performancebot pylint
- npm i -g [email protected] # we need this for linting Accredit
- make -C front-end
- make -C front-end lint
- make -C accredit/cloud-code lint
- bash ./deploy-github-pages.sh
install:
- (cd tools && bash ../performancebot/utils/nugethack.sh)
script:
- xbuild /p:Configuration=Release /target:compare tools/tools.sln
- xbuild /p:Configuration=Release /target:DbTool tools/tools.sln
- xbuild /p:Configuration=Release /target:Accreditize tools/tools.sln
- xbuild /p:Configuration=Debug /target:compare tools/tools.sln
- xbuild /p:Configuration=Debug /target:DbTool tools/tools.sln
- xbuild /p:Configuration=Debug /target:Accreditize tools/tools.sln