Skip to content

Commit d2c980c

Browse files
committed
some changes & begin v1.2.2
1 parent 167b0d8 commit d2c980c

File tree

5 files changed

+68
-48
lines changed

5 files changed

+68
-48
lines changed

.travis.yml

+43-32
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,49 @@
1-
os: linux
2-
services:
3-
- docker
4-
sudo: required
5-
language: python
61
env:
7-
global:
8-
- CONAN_UPLOAD=1
9-
- CONAN_REFERENCE="estring/1.2.1"
10-
- CONAN_USERNAME="sunxfancy"
11-
- CONAN_CHANNEL="testing"
12-
- CONAN_TOTAL_PAGES=1
13-
- CONAN_CURRENT_PAGE=1
2+
global:
3+
- CONAN_REFERENCE: "estring/1.2.2"
4+
- CONAN_USERNAME: "sunxfancy"
5+
# - CONAN_LOGIN_USERNAME: "sunxfancy"
6+
- CONAN_CHANNEL: "ci"
7+
# - CONAN_UPLOAD: "https://api.bintray.com/conan/elite-lang/eobject"
8+
- CONAN_STABLE_BRANCH_PATTERN: "master"
149

15-
matrix:
16-
- CONAN_GCC_VERSIONS=4.6 CONAN_USE_DOCKER=1
17-
- CONAN_GCC_VERSIONS=4.8 CONAN_USE_DOCKER=1
18-
- CONAN_GCC_VERSIONS=4.9 CONAN_USE_DOCKER=1
19-
- CONAN_GCC_VERSIONS=5.2 CONAN_USE_DOCKER=1
20-
- CONAN_GCC_VERSIONS=5.3 CONAN_USE_DOCKER=1
10+
linux: &linux
11+
os: linux
12+
sudo: required
13+
language: python
14+
python: "3.6"
15+
services:
16+
- docker
17+
osx: &osx
18+
os: osx
19+
language: generic
20+
2121
matrix:
2222
include:
23-
- os: osx
24-
osx_image: xcode8.2 # apple-clang 8.0
25-
language: generic
26-
env:
27-
- os: osx
28-
osx_image: xcode7.3 # apple-clang 7.3
29-
language: generic
30-
env:
31-
- os: osx
32-
osx_image: xcode6.4 # apple-clang 6.1
33-
language: generic
34-
env:
23+
- <<: *linux
24+
env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49
25+
- <<: *linux
26+
env: CONAN_GCC_VERSIONS=5.4 CONAN_DOCKER_IMAGE=lasote/conangcc54
27+
- <<: *linux
28+
env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63
29+
- <<: *linux
30+
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39
31+
- <<: *linux
32+
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40
33+
- <<: *osx
34+
osx_image: xcode7.3
35+
env: CONAN_APPLE_CLANG_VERSIONS=7.3
36+
- <<: *osx
37+
osx_image: xcode8.2
38+
env: CONAN_APPLE_CLANG_VERSIONS=8.0
39+
- <<: *osx
40+
osx_image: xcode8.3
41+
env: CONAN_APPLE_CLANG_VERSIONS=8.1
42+
3543
install:
36-
- bash ./.travis/install.sh
44+
- chmod +x .travis/install.sh
45+
- ./.travis/install.sh
46+
3747
script:
38-
- bash ./.travis/run.sh
48+
- chmod +x .travis/run.sh
49+
- ./.travis/run.sh

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ conan_basic_setup()
1010

1111
SET(VERSION_MAJOR "1")
1212
SET(VERSION_MINOR "2")
13-
SET(VERSION_PATCH "0")
13+
SET(VERSION_PATCH "2")
1414

1515
SET (CMAKE_BUILD_TYPE Debug) # 默认构建Debug模式
1616

appveyor.yml

+21-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,32 @@
11
build: false
2+
23
environment:
34
PYTHON: "C:\\Python27"
4-
PYTHON_VERSION: "2.7.11"
5+
PYTHON_VERSION: "2.7.8"
56
PYTHON_ARCH: "32"
67

7-
CONAN_UPLOAD: 1
8-
CONAN_REFERENCE: "estring/1.2.1"
8+
CONAN_REFERENCE: "estring/1.2.2"
99
CONAN_USERNAME: "sunxfancy"
10-
CONAN_CHANNEL: "testing"
11-
CONAN_TOTAL_PAGES: 4
10+
# CONAN_LOGIN_USERNAME: "sunxfancy"
11+
CONAN_CHANNEL: "ci"
12+
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
13+
# CONAN_UPLOAD: "https://api.bintray.com/conan/elite-lang/eobject"
14+
CONAN_STABLE_BRANCH_PATTERN: "master"
15+
1216
matrix:
13-
- CONAN_CURRENT_PAGE: 1
14-
- CONAN_CURRENT_PAGE: 2
15-
- CONAN_CURRENT_PAGE: 3
16-
- CONAN_CURRENT_PAGE: 4
17+
- MINGW_CONFIGURATIONS: "4.9@x86_64@seh@posix, 4.9@x86_64@sjlj@posix, 4.9@x86@sjlj@posix, 4.9@x86@dwarf2@posix"
18+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
19+
CONAN_VISUAL_VERSIONS: 12
20+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
21+
CONAN_VISUAL_VERSIONS: 14
22+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
23+
CONAN_VISUAL_VERSIONS: 15
24+
1725
install:
1826
- set PATH=%PATH%;%PYTHON%/Scripts/
19-
- pip.exe install conan_package_tools # It install conan too
20-
- conan user sunxfancy # It creates the conan data directory
27+
- pip.exe install conan --upgrade
28+
- pip.exe install conan_package_tools
29+
- conan user # It creates the conan data directory
2130

2231
test_script:
23-
- C:\Python27\python build.py
32+
- python build.py

build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from conan.packager import ConanMultiPackager
22

33
if __name__ == "__main__":
4-
builder = ConanMultiPackager(username="sunxfancy", args="--build missing")
4+
builder = ConanMultiPackager(args="--build missing")
55
builder.add_common_builds(pure_c=False)
66
builder.run()

conanfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
class EstringConan(ConanFile):
66
name = "estring"
7-
version = "1.2.1"
7+
version = "1.2.2"
88
license = "MIT"
99
url = "https://github.com/sunxfancy/estring"
1010
settings = "os", "compiler", "build_type", "arch"
1111
options = {"shared": [True, False]}
12-
requires = "libiconv/1.14@sunxfancy/stable", "libcharsetdetect/1.0@sunxfancy/stable", "gtest/1.8.0@lasote/stable"
12+
requires = "libiconv/1.14.2@sunxfancy/stable", "libcharsetdetect/1.0@sunxfancy/stable", "gtest/1.8.0@lasote/stable"
1313
default_options = "shared=False", "gtest:shared=False"
1414
generators = "cmake"
1515
build_policy = "missing"

0 commit comments

Comments
 (0)