forked from xmake-io/xmake
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (34 loc) 路 988 Bytes
/
Copy path.travis.yml
File metadata and controls
38 lines (34 loc) 路 988 Bytes
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
sudo: required
language: C
matrix:
include:
- os: osx
- os: linux
dist: trusty
compiler: gcc-5
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- p7zip-full
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install dmd rust p7zip; fi
- echo $CI
script:
- scripts/get.sh __local__
- source ~/.xmake/profile
- xmake --version
- xmake -P core
- export XMAKE_PROGRAM_DIR=$PWD/xmake
- core/build/xmake --version
- export XMAKE_PROGRAM_DIR=~/.local/share/xmake
- cp core/build/xmake "$XMAKE_PROGRAM_DIR" || sudo cp core/build/xmake "$XMAKE_PROGRAM_DIR"
- xmake --version
- xmake l private.utils.bcsave --rootname='@programdir' -x 'scripts/**|templates/**' xmake
- xmake --version
- travis_wait 60 xmake lua -v -D tests/run.lua
- scripts/archive-all.sh
- scripts/makeself/build-runfile.sh
- scripts/makeself/xmake.gz.run --info