-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
executable file
·47 lines (38 loc) · 1.38 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
# ___ _ ___ _____ _______ _____ ___.__.______ | Swiss Army Project
# / _/_| |_\_ \ \__ \\_ __ \/ < | |\____ \ | Project in C/C++ Language
# || |_ _| || / __ \| | \/ Y Y \___ || |_> > |
# ||_ |_| _|| (____ /__| |__|_| / ____|| __/ | @author Luís Ferreira
# \__\ /__/ \/ \/\/ |__| | @license GNU Public License v3
#
# Copyright (c) 2016 - Luís Ferreira. All right reserved
# More information in: https://github.com/ljmf00/ (Github Page)
language: cpp
compiler:
- gcc
- g++
dist: trusty
os:
- linux
- osx
sudo: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -sf /usr/bin/gcc-4.8 /usr/bin/gcc; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -sf /usr/bin/g++-4.8 /usr/bin/g++; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y build-essential libwxbase3.0-dev libwxgtk3.0-dev libwxgtk2.8-dev libwxgtk2.8-dbg; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y automake autotools-dev; fi
- autoreconf -vfi
- ./configure
- make
- make install
script: swissap
notifications:
email:
- lsferreira169@gmail.com